Use TLP to Extend Linux Laptop Battery Life on Ubuntu 16.04 LTS

Are you using a Linux distribution on your laptop? And you want to get more laptop battery life. Well, I have some solutions for you. In this tutorial, we will discuss how to extend battery life with the TLP laptop power manager on Ubuntu 16.04, Linux Mint 18 and Elementary OS Loki.

I always find that Linux eats my laptop power more quickly than Windows does. My Lenovo laptop can run Windows for 3 hours with AC power unplugged. With Linux, no matter it’s Ubuntu, Debian, Arch Linux, or Fedora, it can only run for 2 hours. (Well, I haven’t used Windows for more than a year.)

TLP is an advanced Linux power management tool for laptops and netbooks. It’s the successor to Jupiter which is now defunct. There’re loads of tips, tricks and hacks that could squeeze an extra hour from a Linux laptop or netbook. TLP makes optimizing power usage easy for Linux beginners or for those who don’t want to tinker. You don’t have to understand every technical details to extend battery life.

How to Install TLP on Ubuntu 16.04, Linux Mint 18, Elementary OS Loki

TLP is a pure command line utility that doesn’t come with a GUI. It’s available in the default Ubuntu software repository starting with Wily 15.10. So you can use the following command to install TLP.

sudo apt install tlp tlp-rdw tp-smapi-dkms acpi-call-dkms

Package tp-smapi-dkms and acpi-call-dkms are for Lenovo ThinkPad laptops only.

If you want to get the latest version and updates, here’s the commands you can issue to the terminal to install it via official TLP PPA.

sudo add-apt-repository ppa:linrunner/tlp

sudo apt update && sudo apt install tlp tlp-rdw tp-smapi-dkms acpi-call-dkms

TLP advanced Linux power management tool

How to Use TLP

Once TLP is installed, you can immediately start it with:

sudo tlp start

It will load the default optimization configurations, like manage your CPU power state, spin down your hard drive, auto-suspends USB and loads more. To check its status you can run:

sudo tlp-stat

There are a lot of information you can get from its output. If your AC power is plugged, TLP will start in AC mode. If later on you unplug your AC power, TLP will automatically switch to battery mode.

You can manually enable or disable WiFi, bluetooth and wwan radios.

sudo wifi [on/off]

sudo bluetooth [on/off]

sudo wwan [on/off]

Tada! My battery now lasts more than 2 hours.

extend battery life in Linux with TLP

TLP will automatically apply power saving settings every time you boot up your computer. So from here on out, you can just forget it. For more usage information, check out the man pages.

man tlp

man tlp-stat

For power usage analysis, you can install powertop and start it with sudo privilege.

sudo apt install powertop

sudo powertop

Other things you can do to get the most power out from your laptop or netbook is making sure your fans are clean, which can be done with a can of compressed air. It’s a known fact that when your fans are collecting dust, it has to work a little bit harder. And using a lower light setting for your screen can also prolong batter life.

One last thing to mention is that TLP laptop battery manager is incompatible with laptop-mode-tools so you have to uninstall one of these two.

And that’s it! If you found this post useful, then subscribe to our free newsletter or follow us on Google+, Twitter or like our Facebook page. Thanks for visiting!

Rate this tutorial
[Total: 45 Average: 3.6]

6 Responses to “Use TLP to Extend Linux Laptop Battery Life on Ubuntu 16.04 LTS

  • IncredibleJolk
    8 years ago

    Great advice. I’m installing it right now, tryin to make it after the disappointing 1.30 min on full battery that elementary loki is giving me.

  • prashant desai
    4 months ago

    I have fined tuned TLP as best as i can; I have read the detailed configuration page of TLP. I am running Ubuntu Gnome desktop 17.04 on ThinkPad 540 and at best I can get 3 -3:30 hours of battery life. Is it as best as it gets?

  • Deepak Rao
    4 months ago

    I’m using lenovo g50-80 ideapad running ubuntu 16.04 installed tlp, battery lasts to 1:30 hrs for 59% it can’t charge beyond it and i tried googling up no results, on contacting care no results for ubuntu try windows else. Will anyone help in getting to full charge. Later once i tried win 10 but i can’t regain back battery levels. This is new and has warranty period

  • Great article, tells me everything I need to know!
    One question, though, does TLP need to run to work; do I need to start TLP every time my system starts or not?

    • Xiao Guo-An (Admin)
      3 months ago

      TLP will start automatically when your computer boots up.

  • Khurshidansari
    6 years ago

    OPPO A37f

Leave a Comment

  • Comments with links are moderated by admin before published.
  • Your email address will not be published.
  • Use <pre> ... </pre> HTML tag to quote the output from your terminal/console.
  • Please use the community (https://community.linuxbabe.com) for questions unrelated to this article.
  • I don't have time to answer every question. Making a donation would incentivize me to spend more time answering questions.

The maximum upload file size: 2 MB. You can upload: image. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop file here