Shutdown button not working [closed]

I have 12.04 installed on my laptop. It was working perfectly until yesterday. Since then, no matter whether I choose restart shutdown or suspend option from GUI, my computer suspends. Please give suggestions.

-

closed as off topic by Eliah Kagan, jokerdino♦, belacq, Mitch♦, fossfreedom♦Aug 20 '12 at 10:20

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This should be reported as a bug. (We might close this as off-topic.) Also, to get help with this or effectively report it as a bug, it will be important for you to specify the exact brand and model of your laptop, whether you're using the 32-bit or 64-bit version of Ubuntu, if running sudo shutdown -P now still successfully shuts the machine down, and if any updates were installed yesterday. –  Eliah Kagan Aug 19 '12 at 4:25
(/var/log/dpkg.log, /var/log/apt/history.log, and /var/log/apt/term.log contain detailed information about that--so you can check them, and even attach them to the bug). If the above shutdown command also suspends, run ubuntu-bug linux to begin reporting the bug. Otherwise, probably run ubuntu-bug \$(pidof indicator-session-service) (and manually attach /var/log/dmesg and /var/log/kern.log). –  Eliah Kagan Aug 19 '12 at 4:26
the laptop worked fine yesterday without me trying anything. But its again giving problems today. –  Shagun Aug 20 '12 at 6:55