How to optimize the energy use of our laptop with TLP

There are certain settings that can be used to improve the use and duration of energy in our portable equipment, many of them are subject to the hardware characteristics as well as the distribution we use, that is where an advanced energy management system become a great ally.  TLP It will help us to apply those settings that we make on our computer automatically, keeping in mind the distro that we use and the hardware that we have, all this through command lines.


For those who know very little (or nothing) about BPD, it is nothing more than a advanced energy management tool, with which we can apply a series of adjustments or configurations so that our laptop can save energy when it is not plugged into an electricity source. This application could do everything automatically and in the background, but as I said before, it will depend on both the hardware and the software we have and it does not have a graphical interface.

There is another tool very similar to TLP, maybe you have ever worked with it "laptop-mode-tools", the recommendation is to remove it before using TLP so that we can avoid any conflict.

sudo apt-get purge laptop-mode-tools

After this we proceed to install. Users of distros like Ubuntu and Linux Mint can install TLP directly from their official PPA with the following commands:

sudo add-apt-repository ppa: linrunner / tlp

sudo apt-get update

sudo apt-get install tlp

Once we have the application installed, it will start automatically when your computer turns on but to avoid restarting the computer when we install it we can start it directly with this command

sudo tlp start

If you want to check that everything is in order with TLP and that it works correctly, use this command

sudo tlp stat

But there is still more, there are certain extra packages that can be very useful, such as:

Smartmontools - to display the information related to SMART hard drives

ethtool - to disable the Wake on LAN property

If you want to check the status of wifi or bluetooth and enable it or not, run the following commands

wifi [on | off | toggle]

bluetooth [on | off | toggle]

Or, check the battery status

sudo tlp-stat -b

If you need to know the status of the temperature

sudo tlp-stat -t


With this command the configuration will be applied way battery Regardless of the current power source, either the battery or the power outlet, as the case may be, use these commands

sudo tlp bat

sudo tlp ac


And there is still a long list of commands that you can use with this tool, you can take a look at this site for more information, if your distribution is not Ubuntu or Linux Mint you can enter here to have the installation instructions in your favorite distribution.


There are many and very diverse options for optimizing energy consumption, it is all about finding an increasingly efficient way to extend the life of the laptop battery, however I am one of those who think that it is best to avoid using it unless it is the last resort.

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

5 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Oscar Martínez said

    Good article, but the name of the program is wrong most of the time, except the last two times it is named, since its name is tlp and not tpl.

    a greeting

  2.   Jose Antonio said

    very good post I did not know about this tool so I started to investigate more (this blog always makes me want to) and well I saw that actually the name of the tool is TLP and not TPL as it was put in the subject of this post and that also several commands are of the form "TLP" and could confuse readers

    Even so, a very GOOD post is appreciated.

  3.   Jorge said

    Good. Apparently the subject looks good, although there is something I do not understand. How does the issue of suspending USB ports look like laptop-mode-tools does?

  4.   snack said

    Let's see if someone gives me a hand xD, the last time I used a laptop in ubunbu linux it was 7.xx so…. something has rained. I've been using archlinux for years, yesterday I installed it on a laptop, I was looking and well I saw some powertop….

  5.   Turbo said

    Do you know if systemd incorporates some kind of power management that conflicts with tlp / laptopmode / etc?
    In my new laptop it seems so, it is because it is bleeding-edge hardware and it is not well supported yet .. (in fact I am waiting for arch to release in stable 4.5, which fixes problems I currently have)