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 it's necessary to install this application if you already have a tool to manage power in KDE , GNOME , or Xfce ; however, if you want to try it, I'll 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 Yaourt installed only need 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 PKGBUILD script was trying to access a folder that didn't exist.

Steps to install TLP

The first thing we need to do is install the dependencies that TLP requires:

$ sudo pacman -S hdparm wireless_tools rfkill ethtool

Now we need to clone the project from GitHub :

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

We downloaded the tarball with the necessary scripts for makepkg to 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

Add as preferred source in Google