How To Install tlp on Fedora 36

In this tutorial we learn how to install tlp in Fedora 36. tlp is Optimize laptop battery life

Introduction

In this tutorial we learn how to install tlp on Fedora 36.

What is tlp

TLP is a feature-rich command-line utility, saving laptop battery power without the need to delve deeper into technical details. TLP’s default settings are already optimized for battery life and implement Powertop’s recommendations out of the box. Moreover TLP is highly customizable to fulfil specific user requirements. Settings are organized into two profiles, allowing to adjust between savings and performance independently for battery (BAT) and AC operation. In addition TLP can enable or disable Bluetooth, NFC, Wi-Fi and WWAN radio devices on boot. For ThinkPads and selected other laptops it provides a unified way to configure charge thresholds and recalibrate the battery.

We can use yum or dnf to install tlp on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tlp.

Install tlp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tlp using dnf by running the following command:

sudo dnf -y install tlp

Install tlp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tlp using yum by running the following command:

sudo yum -y install tlp

How To Uninstall tlp on Fedora 36

To uninstall only the tlp package we can use the following command:

sudo dnf remove tlp

tlp Package Contents on Fedora 36

/etc/tlp.conf
/etc/tlp.d
/etc/tlp.d/00-template.conf
/etc/tlp.d/README
/usr/bin/bluetooth
/usr/bin/nfc
/usr/bin/run-on-ac
/usr/bin/run-on-bat
/usr/bin/tlp-stat
/usr/bin/wifi
/usr/bin/wwan
/usr/lib/systemd/system-sleep
/usr/lib/systemd/system-sleep/tlp
/usr/lib/systemd/system/tlp.service
/usr/lib/udev/rules.d/85-tlp.rules
/usr/lib/udev/tlp-usb-udev
/usr/sbin/tlp
/usr/share/bash-completion/completions/bluetooth
/usr/share/bash-completion/completions/nfc
/usr/share/bash-completion/completions/tlp
/usr/share/bash-completion/completions/tlp-stat
/usr/share/bash-completion/completions/wifi
/usr/share/bash-completion/completions/wwan
/usr/share/doc/tlp
/usr/share/doc/tlp/COPYING
/usr/share/doc/tlp/README.rst
/usr/share/doc/tlp/changelog
/usr/share/licenses/tlp
/usr/share/licenses/tlp/LICENSE
/usr/share/man/man1/bluetooth.1.gz
/usr/share/man/man1/nfc.1.gz
/usr/share/man/man1/run-on-ac.1.gz
/usr/share/man/man1/run-on-bat.1.gz
/usr/share/man/man1/wifi.1.gz
/usr/share/man/man1/wwan.1.gz
/usr/share/man/man8/tlp-stat.8.gz
/usr/share/man/man8/tlp.8.gz
/usr/share/man/man8/tlp.service.8.gz
/usr/share/metainfo/de.linrunner.tlp.metainfo.xml
/usr/share/tlp
/usr/share/tlp/bat.d
/usr/share/tlp/bat.d/05-thinkpad
/usr/share/tlp/bat.d/10-thinkpad-legacy
/usr/share/tlp/bat.d/15-asus
/usr/share/tlp/bat.d/20-huawei
/usr/share/tlp/bat.d/25-lenovo
/usr/share/tlp/bat.d/30-samsung
/usr/share/tlp/bat.d/35-lg
/usr/share/tlp/bat.d/40-sony
/usr/share/tlp/bat.d/90-generic
/usr/share/tlp/bat.d/TEMPLATE
/usr/share/tlp/defaults.conf
/usr/share/tlp/func.d
/usr/share/tlp/func.d/05-tlp-func-pm
/usr/share/tlp/func.d/10-tlp-func-cpu
/usr/share/tlp/func.d/15-tlp-func-disk
/usr/share/tlp/func.d/20-tlp-func-usb
/usr/share/tlp/func.d/25-tlp-func-rf
/usr/share/tlp/func.d/30-tlp-func-rf-sw
/usr/share/tlp/func.d/35-tlp-func-batt
/usr/share/tlp/func.d/40-tlp-func-bay
/usr/share/tlp/func.d/45-tlp-func-gpu
/usr/share/tlp/func.d/tlp-func-stat
/usr/share/tlp/rename.conf
/usr/share/tlp/tlp-func-base
/usr/share/tlp/tlp-pcilist
/usr/share/tlp/tlp-readconfs
/usr/share/tlp/tlp-usblist
/usr/share/tlp/tpacpi-bat
/var/lib/tlp

References

Summary

In this tutorial we learn how to install tlp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).