Running Ubuntu 14.04LTS.
Enabled hibernation and manually tested pm-hibernate successfully. I updated the values in the gnome power manager i.e.
- org.gnome.settings-daemon.plugins.power use-time-for-policy false
- org.gnome.settings-daemon.plugins.power percentage-critical 5
- org.gnome.settings-daemon.plugins.power percentage-action 4
- org.gnome.settings-daemon.plugins.power critical-battery-action 'hibernate'
I get the warning at 5%, but when I hit 4% I get another warning that the computer will shutdown after which it gracefully shuts down instead of hibernating! I tried with the values 6%/5% as well, but no luck. I even tried to hibernate when I got that shutdown warning and it worked... but when I resumed with A/C, it gracefully shutdown right away since that command must have been queued just before I hibernated.
So I spent the last hour looking for a solution, but no one seems to have the exact same problem. People seem to complain about a sudden shutdown (as if there was no power left at all), not a graceful one. I haven't tried the solution suggesting the use of laptop-mode-tools, since I want to install more stuff on my laptop than necessary (and some people complained of sluggish behaviour following that route).
Any suggestion on how to troubleshoot this further?