Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 batteries and is not acceptable.

share|improve this question
The approved answer above does not work on Ubuntu 12.04. – user1956808 Jun 25 at 21:03
up vote 37 down vote accepted
  1. Start dconf-editor
  2. Browse to org -> gnome -> settings-daemon -> plugins -> power
  3. Change the values of percentage-critical and percentage-action to the level you require
  4. Change use-time-for-policy to false
  5. Done!

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. – Salman Abbas Jul 26 '13 at 12:26
Tried this and having problem If you know how to solve this please let us know – Waqas Mar 7 '14 at 14:10
not luck on 15.04 64bit, 3.19.0-32, thinkpad t440p – enjoy Nov 17 '15 at 11:15
yep worked for me..Lenovo and Ubuntu14.04 LTS. – Manikandan Arunachalam Nov 27 '15 at 6:21
How to do it for 16.04 ? – Anmol Singh Jaggi Jun 10 at 21:35

Your Answer


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.