Bug 491945 - Powerdevil sets power profile to balanced after waking from sleep
Summary: Powerdevil sets power profile to balanced after waking from sleep
Status: RESOLVED UPSTREAM
Alias: None
Product: Powerdevil
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: git-stable-Plasma/6.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 16:13 UTC by Valeriy
Modified: 2024-09-12 13:43 UTC (History)
4 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 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.