Bug 491945

Summary: Powerdevil sets power profile to balanced after waking from sleep
Product: [Unmaintained] Powerdevil Reporter: Valeriy <vdctpntm>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kdedev, me, natalie_clarius, nate
Priority: NOR    
Version First Reported In: git-stable-Plasma/6.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Valeriy 2024-08-20 16:13:02 UTC
STEPS TO REPRODUCE
1. Set power profile to Power Save
2. Put your device to sleep
3. Wake it from sleep

OBSERVED RESULT
Power profile set to Balanced for some reason

EXPECTED RESULT
Power profile should not have changed

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.4-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFO
In the Power Management settings section, I have Switch to profile settings set as "Leave unchanged" for every battery mode.
Comment 1 Nate Graham 2024-08-20 17:45:05 UTC
Cannot reproduce with current git master; it stays on the profile I set.

If you temporarily disable Powerdevil with `systemctl stop --user plasma-powerdevil.service` in a terminal window and then try to reproduce the issue, does it still happen? If so, then KDE code isn't involved here, and it's actually your device's firmware that's doing this under the hood.

(regardless, after testing, you can re-enable it again with `systemctl start --user plasma-powerdevil.service`)
Comment 2 Valeriy 2024-08-21 14:29:14 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce with current git master; it stays on the profile I set.
> 
> If you temporarily disable Powerdevil with `systemctl stop --user
> plasma-powerdevil.service` in a terminal window and then try to reproduce
> the issue, does it still happen? If so, then KDE code isn't involved here,
> and it's actually your device's firmware that's doing this under the hood.
> 
> (regardless, after testing, you can re-enable it again with `systemctl start
> --user plasma-powerdevil.service`)

Does indeed happen even after temporarily disabling Powerdevil. Sadly.
Comment 3 Nate Graham 2024-08-21 14:30:17 UTC
Yep, so I'm afraid it's a firmware bug. You can always contact the vendor; maybe they'll care.