Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing power profile with tuned-adm doesn't update GNOME widget #714

Closed
iseppe opened this issue Nov 29, 2024 · 1 comment
Closed

Changing power profile with tuned-adm doesn't update GNOME widget #714

iseppe opened this issue Nov 29, 2024 · 1 comment

Comments

@iseppe
Copy link

iseppe commented Nov 29, 2024

OS: Fedora 41
Gnome 47

I have a script setup as a user systemd service (power_monitor.service) that monitors and changes automatically the power profile when switching from AC to battery and viceversa.

To change the profile I use tuned-adm like this:

tuned-adm profile $profile

Where $profile can be throughput-performance, balanced and powersave for battery <20%

After changing the profile I restart with systemctl the services tuned and tuned-ppd without sudo using a custom polkit rule.

Here's the problem that annoys me: the Gnome power profile widget label from the dropdown menu doesn't change immediately but after some time (>5 minutes).

What I was able to notice is that if I restart the services manually outside the script, the label changes immediately. This also work if I don't use the polkit rule and I'm asked to authenticate when I run the script.

Is this a bug or am I missing something?

Screenshot From 2024-11-29 20-21-13

@zacikpa
Copy link
Contributor

zacikpa commented Dec 3, 2024

Thanks, @xChAmeLIoNz. I'll close this issue, since it duplicates #689, which should be resolved when #669 is merged.

@zacikpa zacikpa closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants