How to switch to tuneD on Fedora 40 Atomic Desktops

Fedora 41 is out, but I prefer having unstable things in my Rawhide Distrobox, and stay on Fedora 40 for a few months.

Today randomly the KDE battery widget didnt allow me to set the power profiles, so I thought “if it is broken, I can just throw it out!”.

According to the accepted Change Proposal the recommended way to use is to remove power-profiles-daemon and replace it with tuned-ppd which is the compatibility tool to make all the GUI integrations (like the KDE battery applet) work without any change.

I also searched a bit (rpm-ostree search tuned) and found tuned-profiles-atomic, which is for “atomic host”? I am not sure what that even is, is this CoreOS?

I installed it too, as I am on Kinoite and most my apps run as Flatpaks or through Distrobox (Podman), so I guess that applies?

rpm-ostree override remove power-profiles-daemon --install tuned-ppd --install tuned-profiles-atomic

To be sure, lets pin the current system:

rpm-ostree status
# oh I have an old pinned system I dont need anymore!

sudo ostree admin pin -u 3

sudo ostree admin pin 1 
# the staged deployment is 0, we cant pin that

Reboot and let’s see!

Update: It works great!

There are big differences between powersave and throughput.

I dont know how to change what presets the ppd compatibility part tuned-ppd chooses.

KDE Plasma integration

In KDE I automatically switch power profiles depending on “power plugged in” “on battery” and “on low battery”.

This works waay better than on GNOME.

For example an overnight ffmpeg reencoding of some old DVD movie is silent on the preset “energy save” and I can manually set it also when on AC, through the battery applet.

Added f40, kde-plasma, power-profiles-daemon