Fedora
Important
Good news! The issues with SELinux have been fixed in Fedora 40, so you can enjoy full TLP functionality again.
Scope:
Officially supported Fedora releases
Note
Execute the commands below in a root shell or with with a preceding sudo.
Package Installation
TLP packages are available from the official Fedora repositories:
tlp (Updates) – Power saving
tlp-rdw (Updates) – optional – Radio Device Wizard
Hint: packages for RHEL/CentOS are available from the EPEL repositories.
Install the packages either with your favorite package manager or the command:
dnf install tlp tlp-rdw
Uninstall the conflicting packages:
Fedora version 40 and below
dnf remove power-profiles-daemon
Fedora version 41 and newer
dnf remove tuned tuned-ppd
See also
Service Units
To complete the installation you must enable TLP’s service:
systemctl enable tlp.service
You should also mask the following services to avoid conflicts and assure proper operation of TLP’s Radio Device Switching options:
systemctl mask systemd-rfkill.service systemd-rfkill.socket
See also
FAQ: Service units
Legacy ThinkPads only: External Kernel Module for Battery Care
Important
Fedora 40 was released with Linux kernel 6.8. In combination with TLP 1.5 or newer it offers full battery care support (i.e. charge thresholds and recalibration) for ThinkPads from model year 2011 onwards.
An external kernel module (also referred to as “out-of-tree” module) is not required in this case, and the following steps are not necessary. However, if your model is from 2011 or older, read on.
Only if the bottom of the output of tlp-stat -b, section ‘Recommendations’, shows the line
Install tp-smapi kernel modules for ThinkPad battery thresholds and recalibration
then install the required packages. They are not available from the official Fedora repositories. Instead you need to add the RPM Fusion and ThinkPad Extras repositories:
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
dnf install https://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm
Note
Above steps are only needed on a new installation of Fedora but not after release upgrades.
Required packages:
kernel-devel (Fedora repo) – Needed to build the kernel module from the akmod package
akmod-tp_smapi (ThinkPad Extras repo) – optional – External kernel module source providing battery charge thresholds and recalibration
Install either with your favorite package manager or the command
dnf install kernel-devel akmod-tp_smapi
New packages are available first in the testing repository:
dnf --enablerepo=tlp-updates-testing install kernel-devel akmod-tp_smapi
Important
The akmod-* package is provided “as is” by a volunteer, it is not part of the TLP project
Please do not file issues if it is not yet available for the latest Fedora version, better watch the tlp-updates-testing repository
In case of difficulties installing, please ask for help in your preferred Fedora forum
Note
The RPM Fusion repo delivers build dependencies for the akmod-* packages
You must disable Secure Boot to use the ThinkPad specific packages
How to validate the Repository Keys
Kernel module packages provided by the ThinkPad Extras repository for Fedora are signed with a release specific key. Yo may check the fingerprint with the following procedure.
Download the key:
wget https://repo.linrunner.de/fedora/tlp/repos/RPM-GPG-KEY-tlp-fedora-40-primary
Get the fingerprint:
gpg -n -q --import --import-options import-show RPM-GPG-KEY-tlp-fedora-40-primary
Check that the resulting fingerprint matches the fingerprint from the list below.
If they match, import the key:
rpm --import RPM-GPG-KEY-tlp-fedora-40-primary
Fingerprints
RPM-GPG-KEY-tlp-fedora-42-primary:
12D4 0BFD 3011 21FE 3FB5 C015 7586 7412 AC4D D754
RPM-GPG-KEY-tlp-fedora-41-primary:
BFC3 0267 A648 4B13 0A8B D63A 5A95 D830 9811 B297
RPM-GPG-KEY-tlp-fedora-40-primary:
C279 E61F 6B48 9D22 A672 F8B1 B478 BF61 B8E3 FA4C
RPM-GPG-KEY-tlp-fedora-39-primary:
61A3 F536 A295 C543 C90B 6583 F211 4CD7 DD65 A6C4
RPM-GPG-KEY-tlp-fedora-38-primary:
18E9 1496 E81A 2040 F94E C306 B3BE 4F28 7F13 C3C8
RPM-GPG-KEY-tlp-fedora-37-primary:
666F 0F62 9C09 5486 7FA9 7C55 4E41 F248 779F E8EE
RPM-GPG-KEY-tlp-fedora-36-primary:
B1F7 4D6D 9F56 93BB 1A9C 9D64 85F1 A909 051D B38A
RPM-GPG-KEY-tlp-fedora-35-primary:
65C4 7531 819C 6D74 33BE 25D5 5052 26CB 40D9 3801
RPM-GPG-KEY-tlp-fedora-34-primary:
1E4F 2F53 A348 6025 FC4E FD86 7704 0BAF FA30 D1C8