Shut down and Restart not responding

I have Hewlett-Packard laptop computer at home. Whenever I hit the shut down button there's no action has been done.
I've waited 30 minutes to make sure that the action will occur but still it doesn't work. What I did was to pulled out the battery in order to shut down.

As well as the restart button did not responding. I wonder that my computer is really at risk but my computer has display and work well only the restart and shut down button is not responding whenever I do the actions.
Do you think my computer has a defect?
What is the common problem all about?
Please help thanks
