openSUSE

Scope:

  • Officially supported openSUSE Leap releases and Tumbleweed

Note

Execute the commands below in a root shell or with with a preceding sudo.

Package Installation

Packages are available from the official repositories:

Install them either with your favorite package manager or the command:

zypper install tlp tlp-rdw

openSUSE Leap 15.4 and higher as well as Tumbleweed

Uninstall the conflicting power-profiles-daemon package:

zypper remove power-profiles-daemon

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

ThinkPads only: External Kernel Modules

Important

As of version 5.17, the Linux kernel in combination with TLP 1.5 offers full battery care support (i.e. charge thresholds and recalibration) for ThinkPads from model year 2011 onwards. Therefore no external kernel modules are required with kernel 5.17 or newer and you do not need to proceed any further here.

Linux kernel 4.19 through 5.16 provides only charge threshold functionality but no recalibration. If this is sufficient for you, stop reading here.

However, if you need the recalibration feature or your model and/or kernel is older, read on.

You may find out your current kernel version with the command uname -a or when TLP is already installed with tlp-stat -s.

Depending on your model and kernel version external kernel module(s) are required to provide battery charge thresholds and recalibration.

For openSUSE Tumbleweed and ThinkPads as of model year 2011 just install the required external kernel module acpi_call from the official repositories with:

zypper install acpi_call-kmp-default

For openSUSE Leap and/or older ThinkPads your mileage may vary as you have to browse openSUSE Software for community packages or build the required module from source. The output of tlp-stat -b will guide you which external kernel module is required:

  • acpi_call – optional – External kernel module providing battery recalibration for ThinkPads since model year 2011 - e.g. T420/X220 and newer

  • tp_smapi – optional – External kernel module providing battery charge thresholds and recalibration for ThinkPads before model year 2011 as well as specific tlp-stat -b output until model year 2011