Linux tools

Save Some Battery On Our Linux Machines With TLP

Save Some Battery On Our Linux Machines With TLP

​I have always found battery life with Linux to be relatively lesser than windows. Nevertheless, this is Linux and we always have something up our sleeves. Now talking about this small utility called TLP, that can actually save some juice on your device.

TLP – Linux Advanced Power Management is a small command-line utility that can genuinely help extend battery life by performing several tweaks on your Linux system.

$ sudo apt install tlp
install tlp in linux

For other distributions, you can read the instructions from the official website.

After installation is complete, you will have to run the following command to start tlp for the first time only. TLP will automatically start the next time you boot your system.

start tlp on linux

​Now TLP has started and it has already made the default configurations needed to save battery. We will now see the configurations file. It is located in /etc/default/tlp. We need to edit this file to change various configurations. There are many options in this file and to enable an option just remove the leading # character from that line. There will be instructions about each option and the values that you can allot to it. Some of the things that you will be able to do are –

  • Autosuspend USB devices
  • Define wireless devices to enable/disable at startup
  • Spin down hard drives
  • Switch off wireless devices
  • Set CPU for performance or power savings

Conclusion

​TLP is an amazing utility that can help save battery life on Linux systems. I have personally found at least 30-40% of extended battery life when using TLP.



LinuxAndUbuntu hosting is sponsored by massiveGRID

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This website uses cookies to improve your experience. We'll assume you're ok with this. Thank you! Ok Read More