Summary: | power-profiles-daemon widget for mode change does not work | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | davidb9966 |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | nate |
Priority: | NOR | Keywords: | qt6 |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
davidb9966
2024-03-13 06:49:09 UTC
Does it work to change the setting using the command-line `powerprofilesctl` program? E.g. `powerprofilesctl set performance` Or is that broken too? (In reply to Nate Graham from comment #1) > Does it work to change the setting using the command-line `powerprofilesctl` > program? E.g. `powerprofilesctl set performance` > > Or is that broken too? ❯ powerprofilesctl set performance Traceback (most recent call last): File "/usr/bin/powerprofilesctl", line 7, in <module> from gi.repository import Gio, GLib ModuleNotFoundError: No module named 'gi' Then I guess you need to install some missing python module. Not having it despite having `powerprofilesctl` installed is a distro packaging error; they should have made sure that all necessary python module dependencies were installed automatically. I'd recommend following up with your distro if you can't figure this out on your own. Issue with running command resolved by installing package - `sudo pacman -S python-gobject` ~ ❯ sudo powerprofilesctl set performance ~ ❯ powerprofilesctl list * performance: CpuDriver: amd_pstate Degraded: no balanced: CpuDriver: amd_pstate PlatformDriver: placeholder power-saver: CpuDriver: amd_pstate PlatformDriver: placeholder Running this command in console moves the widget slider, but it also has no effect on the power state itself If neither the Plasma widget nor `powerprofilesctl` work to change the power mode, and only the Fn+[key] shortcuts work, then it sounds like there's a bug either in your device's firmware, or with power-profiles-daemon itself. I'd recommend starting with a new bug report at https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/. If they tell you it's a firmware issue, you'll need to follow up with the kernel developers or even your laptop's firmware developers. thank you, submitted new bug here https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/143 |