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.

I would like my laptop to hibernate itself when the battery level is 10% to be sure it has enough power to complete the operation properly. Actually if I don't pay attention my laptop informs me it will hibernate when it's too late, so instead it brutally shuts down. This kills lithium battery and is not acceptable.

share|improve this question

1 Answer 1

up vote 15 down vote accepted

Start dconf-editor.
Browse to org->gnome->settings-daemon->plugins->power.
Change the values of percentage-critical and percentage-action to the level you require.
And change use-time-for-policy to false

You can also do this from a terminal with:

gsettings set org.gnome.settings-daemon.plugins.power percentage-critical 10
gsettings set org.gnome.settings-daemon.plugins.power percentage-action 9
gsettings set org.gnome.settings-daemon.plugins.power use-time-for-policy false
share|improve this answer
    
Thanks. Ubuntu will not cost me 100s of dollars now FFS. –  SalmanPK Jul 26 '13 at 12:26
    
Tried this and having problem If you know how to solve this please let us know –  Rana Muhammad Waqas Mar 7 at 14:10

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.