[TRACKING] Linux battery life tuning

Thanks for the detail and udev triggers @IPGentlemann! To add on, initially I ran and saw good results with power-profiles-daemon. I then experimented with TLP and simply haven’t bothered to revert (though I wanted to because power-profiles-daemon is much simpler + Fedora 35 includes it by default, etc.). With your findings, I’m going to switch back. But since power-profiles-daemon doesn’t apply many of the tweaks that TLP does, I’m curious @IPGentlemann:

  1. Are you setting some/all of the recommended tweaks/tunables from powertop? If so,
  2. Which have you set/are using?
  3. How are you applying them? e.g. powertop --auto-tune at boot, via udev rules, etc.

For those using Waybar + power-profiles-daemon, here’s the custom module I run. It displays the current power profile (refreshes every 60 seconds), and a left/middle/right click on the area sets the respective power profile. This functionality already exists in Gnome control center Settings → Power (and from a quick search, I believe KDE/Plasma now has support as well).

Click Action
Left (one finger tap or physical left click) set power-saver profile
Middle (three finger tap) set balanced profile
Right (two finger tap or physical right click) set performance profile
"custom/power_profile": {
    "exec": "powerprofilesctl get",
    "interval": 60,
    "on-click": "powerprofilesctl set power-saver",
    "on-click-right": "powerprofilesctl set balanced",
    "on-click-middle": "powerprofilesctl set performance"
}
1 Like