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

Set power profile to Performance #11

Open
strugee opened this issue Oct 13, 2024 · 2 comments
Open

Set power profile to Performance #11

strugee opened this issue Oct 13, 2024 · 2 comments

Comments

@strugee
Copy link
Member

strugee commented Oct 13, 2024

This isn't as easy as it seems. We can just write /var/lib/power-profiles-daemon/state.ini, but if you actually look at this file, the values are platform-specific. We need to decide whether it's acceptable to hard-code this for the laptops we own currently.

@strugee strugee changed the title Set power profile to Performanc Set power profile to Performance Oct 13, 2024
@AndrewKvalheim
Copy link
Member

Is powerprofilesctl available? If the profile names vary we could ship a list of preferred names to opportunistically select when seen.

@strugee
Copy link
Member Author

strugee commented Oct 13, 2024

It is indeed. Mostly I don't think this is really worth bothering with.

There's also a /org/gnome/shell/last-selected-power-profile dconf key - not sure how that interacts with powerprofilesctl exactly.

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