One thing missing from elementary OS out of the box is adequate power management tools. This isn’t a problem if you’re using this agile linux distro on a desktop but can be critical when using Elementary OS on a laptop. Here’s a quick and dirty setup to get you the bare minimum power management on your fresh Freya install.
- Install tlp, thermald, and powertop…
sudo apt install tlp tlp-rdw thermald powertop
- Configure tlp (plenty of inscription in the file, including Lenovo battery thresholds)
sudo scratch-text-editor /etc/default/tlp
- Start tlp…
sudo tlp start
- If you have a ThinkPad (for powertop to work)…
sudo apt install tp-smapi-dkms acpi-call-dkms
- Calibrate powertop (this will take a while and many strange things will happen… walk away)…
sudo powertop --calibrate
Check the report with (hint: the
powertop.htmlfile will be saved to the root of your home folder)…
sudo powertop --html
- Open the
powertop.htmlfile and check out the suggestions under the Tuning tab.
- You can write the script suggestions to your
/etc/rc.localfile or if you trust everything that powerTOP says, you can just add the line
With just this most basic of configuration you should be able to squeeze out more juice from your average charge cycle.