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

--- Comment #37 from nyanpasu64 <[email protected]> ---
(In reply to hasezoey from comment #35)
> 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

Not sure what this means, hopefully you can talk to a powerdevil maintainer and
work this out?

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

Reply via email to