redhat-performance / tuned

Tuning Profile Delivery Mechanism for Linux
GNU General Public License v2.0
854 stars 180 forks source link

Gnome-shell - doesn't change Power Mode indicator #689

Open francoism90 opened 2 months ago

francoism90 commented 2 months ago

I'm running Fedora Silverblue 41 (beta) with Gnome 47 (stable).

To save power, I switch to powersave at night:

$ tuned-adm profile powersave
$ tuned-adm active
Current active profile: powersave

However this doesn't change the Gnome-shell indicator, which keeps stating 'Balanced' as Power Mode.

Is this a known bug/limitation?

Thanks

zacikpa commented 2 months ago

Thanks, @francoism90. This is a known limitation. We currently have #669 open, which would allow non-bijective mappings between PPD profiles and TuneD profiles. If that gets merged, this limitation would stay, since tuned-ppd would not be able to determine the active PPD profile given the active TuneD profile. If we decide not to go with the change, this can be resolved.

francoism90 commented 2 months ago

@zacikpa Thanks for your answer. :)

What exactly is the GS Indicator doing at the moment? If one switches to a profile, does tuned change the profile to that?

zacikpa commented 2 months ago

Yes, but it's a bit more complicated. Gnome control center works with the original profile names from power-profiles-daemon, and these are mapped to TuneD profiles. You can find the mapping in /etc/tuned/ppd.conf.