Massive battery life improvements on AMD over the past year

https://lemmy.ca/post/16073423

Massive battery life improvements on AMD over the past year - Lemmy.ca

AMD has been on a roll over the past year making significant in power management across the Linux stack. Most of this works centered around support for p-state [https://docs.kernel.org/admin-guide/pm/amd-pstate.html]. To take advantage you should run a newer Linux kernel. Here are some of the improvements from each recent release: - 6.3 [https://www.phoronix.com/review/amd-pstate-epp-ryzen-mobile] - 6.4 [https://www.phoronix.com/news/AMD-P-State-GAM-Linux-6.4] - 6.5 [https://www.phoronix.com/review/linux65-ryzen-servers] - 6.6 [https://www.phoronix.com/news/Linux-6.6-cpupower] Use power-profiles-daemon 0.20 [https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/releases/0.20] which sets the appropriate p-state driver based on the selected battery profile. Upcoming changes: - More kernel improvements [https://www.phoronix.com/news/AMD-P-State-Preferred-Core-v8] - Firmware updates (distro dependendent; e.g. Debian [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063161]) Kudos to AMD principal engineer Mario Limonciello for driving these changes across the board! This is one advantage of increased competition (e.g. from the Apple M series); the entire ecosystem is pushed forward. I am personally benefiting immensely from these improvements on my new Thinkpad t14s with AMD 7840U (battery life going from 4-5 hours to easily 10+ hours). Finally we don’t have to settle anymore for underwhelming battery life on Linux laptops :)

Do I have to manually install PPD?

PPD comes default on most distros (at least I can confirm for Debian, Ubuntu and Fedora on the GNOME variant). I am not sure about KDE variants but they should support it too even if it’s not pre-installed.

You can check if it’s running with the following command:

'$ sudo powerprofilesctl`

However as the 0.20 release which supports p-state just released recently most fixed point release distros won’t have the newer version. In this case you would need to update it manually.

I am running Debian testing and it has the new version while stable does not.

packages.debian.org/trixie/power-profiles-daemon

Debian -- Details of package power-profiles-daemon in trixie

You shouldn’t use sudo to run powerprofilesctl
Good point, edited!