PINE64
Improved battery life with TLP daemon - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Improved battery life with TLP daemon (/showthread.php?tid=19593)



Improved battery life with TLP daemon - Surehand53 - 12-30-2024

In one of the recent Manjaro system updates TLP was mentioned as an option to power-profiles-daemon to manage battery life for the Pinebook Pro.

On the Pinebook Pro the TLP power management gives subjectively better battery performance over power-profiles-daemon. Especially sleep lasts over night without problems. My PBP is one of the earliest (second batch, I believe) and yet with TLP the battery performance is great.

The downside is that the PBP user interface feels slightly more sluggish in KDE Plasma. Everything seems to be a bit slower than it used to be. This might be different in a simpler (tiling) window manager. The TLP documentation mentions that their power management suits light users best (writing, etc).
However, the battery performance feels much improved.

If you are interested:

## Install TLP

Code:
$ sudo pacman -S tlp


You will be asked to uninstall **power-profiles-daemon**, say yes.

There is an additional package `tlp-rdw`, check in the docu if you want that.

To enable the service use (and reboot)
Code:
$ sudo systemctl enable tlp.service

## Config
I have used this config change to improve performance when power is plugged in:
Edit /etc/tlp.conf and un-comment and update:

CPU_ENERGY_PERF_POLICY_ON_AC=performance

You can check the config with:
Code:
tlp-stat --config
tlp-stat -p
tlp-stat -p -v


If you want you can set `CPU_ENERGY_PERF_POLICY_ON_BAT` to `performance` as well.

Here is a link to the TLP documentation

# power-profiles-daemon
To switch back to the **power-profiles-daemon**:
Code:
$ sudo pacman -S power-profiles-daemon
$ sudo systemctl enable power-profiles-daemon

And here is the link to some power-profiles-daemon documentation