Summary: | Support suspend-and-hibernate (i.e. systemctl hybrid-sleep) | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | ask4support |
Component: | Power management & brightness | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | gaaf, jpetso, nate, s.wezel, speedytux |
Priority: | NOR | ||
Version: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
ask4support
2019-07-20 10:59:08 UTC
If by "Hybrid Suspend" you mean "Suspend and then hibername after a few hours", that needs to be turned on in System Settings > Power management, assuming your system supports it. Once it's turned on, it's automatically engaged every time you suspend. Not at all. By hybrid suspend I mean the power state triggered by this command: "systemctl hybrid-sleep" Ah ok, we don't support that one yet. *** Bug 432694 has been marked as a duplicate of this bug. *** The changes in PowerDevil for Plasma 6 include a change where you can set one of three modes for the "Sleep" action: "Standby", "Hybrid sleep" and "Standby, then hibernate". This can be configured with a new field in the Energy Savings settings page with a label that says "When sleeping, enter: (...)" which replaces the previous awkward checkbox named "While asleep, hibernate after a period of inactivity. The idea is that "Sleep" will do system-wide whichever of the three you select. There's a chance that the changes have provided a way to get hybrid suspend into the logout screen, because selecting "Hybrid sleep" as sleep mode and then pressing "Sleep" should do the trick. I think so, at least. I wasn't able to test it because on my (imperfectly configured?) Plasma 6 dev environment, showing the logout screen made my display go grey with no further interaction possible. Maybe it works for the rest of you folks though. Someone please test on Plasma 6... thanks! I have tested what Jakob Petsovits mentioned. I'm running plasma 6.1.5 on gentoo with systemd. I have changed the config setting in PowerDevil "When sleeping, enter" to "Hybrid sleep". When initiating sleep via the lock screen "Sleep button" systemd executes the sleep operation "hyprid-sleep" systemd and systemd-sleep logged following messages: systemd[1]: Reached target Sleep. systemd[1]: Starting System Hybrid Suspend+Hibernate... systemd-sleep[28878]: Performing sleep operation 'hybrid-sleep'... Also the whole process needed more time to succeed due the additional task to create the hibernation image before entering suspend 2 ram |