The scenario is simple. I am using Ubuntu 11.10 64bit on my Compaq Presario CQ42. When power cuts or I unplug the adapter, I get a warning message that battery is critically low and it suspends a few seconds later. After searching for a while I found the solution.
Use this following command on Terminal:
1 |
gsettings set org.gnome.settings-daemon.plugins.power 'use-time-for-policy' 'false' |
It should solve the problem! 🙂