Bug 499233 - Selecting 'Balanced' on 'Power and Battery' widget selects 'powersave' governor
Summary: Selecting 'Balanced' on 'Power and Battery' widget selects 'powersave' governor
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (other bugs)
Version First Reported In: git-stable-Plasma/6.2
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-28 06:24 UTC by thisemailisathrowaway
Modified: 2025-01-30 13:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thisemailisathrowaway 2025-01-28 06:24:29 UTC
SUMMARY
When selecting the `Balanced` power profile from the `Power and Battery` widget, it sets the governor to `powersave` instead.

STEPS TO REPRODUCE
1. Go to the 'Power and Battery' widget
2. Select 'Balanced' from the three options ('Power Save', 'Balanced', and 'Performance'
3. `cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` or `cpupower frequency-info`

OBSERVED RESULT
The `cat` outputs `powersave`. For the option `Power Save`, it outputs `powersave`, and for `Performance`, it outputs `performance` (the latter two are correct).

EXPECTED RESULT
I think `Balanced` is supposed to return `ondemand`, but it definitely isn't supposed to return `powersave`.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.12.11-1; KDE Plasma 6.2.5

ADDITIONAL INFORMATION
Desktop; CPU is a Ryzen 7 5800X.
Comment 1 Nate Graham 2025-01-28 16:22:50 UTC
This is an issue with the under-the-hood implementation, which is unfortunately outside of KDE's control.

If the implementation you're using is tuned (which I know Fedora uses by default now, dunno about Manjaro), then it's a known bug which will be fixed with https://github.com/redhat-performance/tuned/pull/732.

If the implementation you're using is power-profiles-daemon, then the issue is in the device firmware shipped by your hardware vendor.
Comment 2 thisemailisathrowaway 2025-01-30 13:27:51 UTC
> If the implementation you're using is power-profiles-daemon, then the issue
> is in the device firmware shipped by your hardware vendor.

Hi, Nate. I appreciate the timely and thorough response. I checked, and I'm indeed on `power-profiles-daemon`. It just struck me as weird because my `energy_performance_available_preferences` are `default`, `performance`, `balance_performance`, `balance_power`, and `power`, so evidently my CPU is exposing two balanced modes.