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

[Feature] Using Power-profile-daemon and powerprofilesctl to manage device power. #925

Open
soloopooo opened this issue Nov 5, 2024 · 0 comments

Comments

@soloopooo
Copy link

What would you like to be added?

using power profile daemon and powerprofilesctl to control the device's power state, like performance, balanced or power-saver.

How will it help

GNOME, KDE can all use powerprofilesctl to control the power. So I think this will be a good idea to include this into your dotfiles too.

Extra info

You can add a widget on AGS; keybind or whereever you like.
It won't use sudo permission, so the example command is:

powerprofilesctl set performance
powerprofilesctl set balanced
powerprofilesctl set power-saver

etc..

You can also show the CpuDriver used while hovering the widgets.

> powerprofilesctl 
  performance:
    CpuDriver:	amd_pstate
    Degraded:   no

* balanced:
    CpuDriver:	amd_pstate
    PlatformDriver:	placeholder

  power-saver:
    CpuDriver:	amd_pstate
    PlatformDriver:	placeholder
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

1 participant