I use a very portable laptop with Ubuntu running. On that laptop, neither sleep nor hibernate works reliably (it works sometimes and it doesn't the other times).
I'm not asking how one can get them to work, but rather, how one can maximally power-save when he/she cannot sleep or hibernate the laptop but won't do anything with the machine during that time.
Please advice.
You will get maximum battery life from the machine by ensuring that the CPU can stay in low power states for as long as possible.
The
powertop
utility (from thepowertop
package) is useful for diagnosing the causes of wake ups. It will also provide suggestions about configuration changes that can improve things.You should run
powertop
usingsudo
in order to get the best use out of it, since it won't be able to monitor the system fully with regular user privileges.Allow me to answer my own question. But I wanted to share this link on "How to reduce power consumption". Anyone thinking of optimizing power consumption on a laptop should take a look as the page contains really nice set of PM tips. It is primarily written for thinkpad users but much of it still works on any laptop running Ubuntu.
sudo apt-get install indicator-cpufreq