Bug 2323558
| Summary: | power profile change on charge state not working | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Bosse <maztaim> |
| Component: | power-profiles-daemon | Assignee: | Arthur Bols <arthur> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | arthur, mario.limonciello |
| Target Milestone: | --- | Keywords: | Desktop |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-04 13:54:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Tim Bosse
2024-11-04 02:38:55 UTC
To me it looks like it's actually changing based on power events. Core Battery level changed to 52.000000 AmdgpuPanel Updating panel to 0 due to π 0 (52.000000) Core Battery level changed to 53.000000 AmdgpuPanel Updating panel to 0 due to π 0 (53.000000) Core Power Changed because of reason battery AmdgpuPanel Updating panel to 0 due to π 1 (53.000000) What change were you expecting that isn't happening now? Notice that it is writing `Performance` to scaling governor always despite catching the charger remove event. Previous behavior on F40 with earlier build of 0.23-1 and 0.22 was that the governor would switch to "powersave" on removing charger. I don't believe that behavior has ever been present when in the 'performance' profile of PPD. https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/blob/main/src/ppd-driver-amd-pstate.c#L157 Maybe you're thinking about changes that happen while in "balanced"? Part of the problem is that I don't have the behavior I'm expecting from F40 in detail anymore (now that I am on F41). In gnome (for me) when selecting profiles with ppd, you were given two options for F40 with ppd: performance and powersaver. There wasn't a balanced profile ever. On Fedora 40, when I plugged in the power supply, gnome would show the performance profile was selected. When on battery gnome would show power saver profile selected. I could override that selection to be either power saver or performance, until I plugged or unplugged the charger. So iirc, ppd can't change power profiles, this has to be configured by Gnome or KDE. In Fedora 41 the systemd service `power-profiles-daemon.service` is not enabled by default (this is fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2024-a54b5427a8 ). I'm speculating here, but maybe the service is not enabled on boot so Gnome doesn't detect it correctly. Can you try to enable power-profiles-daemon.service and reboot? Also make sure that tuned and tuned-ppd is removed completely. I did some testing on the balanced profile and I see where it adjusts depending on power supply. I don't know why that wasn't my behavior on F40, but I accept this as the correct behavior moving forward. Thanks for bearing with me. |