this post was submitted on 24 Feb 2024
274 points (98.9% liked)

Linux

48144 readers
784 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

AMD has been on a roll over the past year making significant strides in power management across the Linux stack.

Most of this work is centered around support for p-state.

To take advantage you should run a newer Linux kernel. Here are some of the improvements from each recent release:

Use power-profiles-daemon 0.20+ which sets the appropriate p-state driver based on the selected battery profile.

Upcoming changes:

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 :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 8 months ago* (last edited 8 months ago) (1 children)

PPD comes default on most distros (I can at least 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:

$ 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.

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

[–] [email protected] 4 points 8 months ago (1 children)

You shouldn't use sudo to run powerprofilesctl

[–] [email protected] 3 points 8 months ago

Good point, edited!