Installing TLP on Arch Linux

TLP is an advanced tool that is handled only by the terminal and aims to manage the energy of our Laptops, making better use of their battery.

I don't know if I already have a tool to manage energy in KDE, GNOME o Xfce It is necessary to install this application, however, if you want to try I tell you how, it would also be useful for users who only use Window Managers.

To install on a distribution other than Arch Linux, you can go to this link

Users who have Yogurt installed just have to run:

$ sudo yaourt -S tlp

But I don't use that, I do things with makepkg. The problem is that when I tried to create the package to install it, I got an error because the script PKGBuild trying to access a folder that didn't exist.

Steps to install TLP

The first thing to do is install the dependencies you need BPD:

$ sudo pacman -S hdparm wireless_tools rfkill ethtool

Now we have to clone the project from GitHUB:

$ git clone https://github.com/linrunner/TLP.git

We got off the tarball with the necessary Scripts so that makepkg work:

$ wget https://aur.archlinux.org/packages/tl/tlp/tlp.tar.gz

We unzip it and run makepkg:

$ tar xfv tlp.tar.gz $ cd tlp $ makepkg

When the package tlp-0.3.9-9-any.pkg.tar.xz is created we install it with:

$ sudo pacman -U tlp-0.3.9-9-any.pkg.tar.xz

And that's it. As I have read, it is not necessary to do anything else, just enable the service and run it:

$ systemctl enable tlp.service $ systemctl start tlp.service

Then to see certain statistics or the devices of our computer we execute any of these 3 commands (separately):

$ sudo tlp-stat $ sudo tlp-pcilist $ sudo tlp-usblist

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.   eliotime3000 said

    Excellent. However, in Debian there is a console application called TOP that is really useful and shows you the processes in real time and is much faster than the task managers that I have seen so far.

    1.    ever said

      TOP is part of GNU. Absolutely all GNU / Linux systems have TOP (which I don't like, by the way… I prefer HTOP). And I don't understand what TOP has to do with TLP ...
      regards

      1.    giskard said

        I agree with you. Also, TOP shows the amount of free memory wrong: it shows it backwards. Compare what you get using TOP with what you get using HTOP and you will see what I mean.

  2.   Carlos Saldaña said

    Hello I thought the article was great but I would like to know if that same package works for debian and if it is installed in the same way, since I have an xps 15 that in wi ... lasts almost 5 hours but in debian 7 64bits it lasts 2:40 approximately…

    1.    elav said

      My bad. I forgot to link to the project page where they explain how to install in each Distro. I update the post shortly.

  3.   ever said

    Elav is good to clarify that users who use yaourt do not need git or understand about tarballs, it is enough for them with:

    $ yaourt -S tlp

    regards

    1.    elav said

      Yes, it is the first way that I show in the article.

  4.   rots87 said

    If I understood correctly, this is only a terminal monitor for the processes, services and devices that we have activated or using at the moment, or am I wrong?

    1.    Alexander Nova said

      Totally wrong. TLP is a service to save energy, it has nothing to do with a process, service and device monitor. Install it and see how your battery goes; should work better (although to be honest I don't find it to be a true replacement for Jupiter)

      1.    rots87 said

        ok thanks for the tip. testing right now

  5.   x11tete11x said

    One detail, no need to add sudo to the yaourt: v

    1.    Manual of the Source said

      Not only is it not necessary but also not recommended, and Yaourt himself warns this when wanting to use it with sudo.

  6.   irvandoval said

    My question is which is better tlp or laptop-tools, my laptop at the moment has laptop-tools installed

    1.    Gabriel said

      As Irvandoval asks, someone from experience, have they noticed a better performance? Is it worth installing?

  7.   they mess around said

    tlp is now available from the official archlinux repos

    https://www.archlinux.org/packages/?sort=&q=tlp&maintainer=&flagged=