https://bugs.kde.org/show_bug.cgi?id=510992

--- Comment #35 from [email protected] ---
I just re-read the fix from comment 24
(https://bugs.kde.org/show_bug.cgi?id=510992#c24 /
https://invent.kde.org/plasma/powerdevil/-/commit/3eeb71e10083a6ed811b4662dd44ae303d1fe86b),
and noticed that this workaround only reads "/sys/power/mem_sleep", and from my
knowledge, that file does not actually say what suspend mode is currently
taking place, meaning the script assumes anything but hibernation (suspend to
disk), so the wakeup helper takes the "bad" path of writing to
"/sys/power/wakeup_count" for hibernation.

For context:
$ cat /sys/power/mem_sleep
[s2idle]
$ cat /sys/power/state
freeze mem disk
$ cat /sys/power/disk
[plaform] shutdown reboot suspend test_resume

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to