Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Recently, after a few upgrades, I find that the power-management applet indicator has vanished, and the option of Suspend has suddenly changed to Power-off. I can still suspend through sudo pm-suspend, but pressing on the Power button blanks and locks the screen at best.

Moreover, the options of Power button and Close Lid are no longer visible in Power options menu.

share|improve this question
    
Can you attach screenshots? –  Christopher Kyle Horton Sep 8 '11 at 1:28

3 Answers 3

Update upower from the ubuntu packages page. It needs to be updated to version 0.9.13-1 and the system did not do that automatically. You can find that here: http://packages.ubuntu.com/oneiric/upower

From Terminal

upower -d

will error out. The newest version has the error fixed.

share|improve this answer
    
Thnx for your help. It really worked out –  Jigar.Shah Sep 11 '11 at 5:10
    
UPower version 0.9.13, but system doesn't restores after suspend or hibernate. Xorg needs to be restarted. Solution doesn't help to me. –  user29262 Oct 20 '11 at 11:57

The options is not available in the UI anymore, but I found it to be still availble in gconf.

To attach an action with the power button, enter in a terminal:

gsettings set org.gnome.settings-daemon.plugins.power button-power action_name

Where action_name is one of the following:

  • suspend
  • shutdown
  • hibernate
  • interactive (ask what to do)
share|improve this answer

This has worked for me over the past three releases. Enjoy!

http://thecodecentral.com/2011/01/18/fix-ubuntu-10-10-suspendhibernate-not-working-bug

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.