Bug 461324 - Laptop ignores “While asleep, hibernate after a period of inativity” (suspend then hibernate) setting when on AC
Summary: Laptop ignores “While asleep, hibernate after a period of inativity” (suspend...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (other bugs)
Version First Reported In: 6.2.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-02 16:10 UTC by evgeniyharchenko.dev
Modified: 2024-12-23 12:29 UTC (History)
1 user (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 evgeniyharchenko.dev 2022-11-02 16:10:54 UTC
SUMMARY
In Energy Saving (System Settings) in On Battery tab with “While asleep hibernate after a period of inactivity” checked (in other tabs it’s unchecked), it works pretty good. But it hibernates when on AC too. With the box unchecked it will stop going into hibernation after suspend both when on AC and when on Battery.


STEPS TO REPRODUCE
1. Check "While asleep hibernate after a period of inactivity" only in On Battery tab.
2. Close laptop lid with AC adapter connected.
3. Wait for several hours.
4. Open latop lid.

OBSERVED RESULT
Laptop in hibernation.

EXPECTED RESULT
Laptop wakes up from suspend.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.74-3-MANJARO
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics platform: X11
Comment 1 evgeniyharchenko.dev 2024-12-23 12:29:00 UTC
Can't reproduce on latest version. The problem is only in considering latest state before suspending: if I suspend laptop and then unplug AC it will only suspend and will never suspend then hibernate. But afaik it is not a bug, but flaw of systemd.