Add "Hybrid suspend" option to suspend actions and button handler actions.
The action is already supported by Solid.
Thanks a lot!
Interestingly enough PowerDevil's suspend session action already had a case for hybrid suspend it just wasn't exposed in the UI.
The question is whether we should treat "hybrid suspend" and "suspend" as separate options or just have a global checkbox "[X] When possible use hybrid suspend". I haven't really looked into what hybrid suspend really does (ie. whether it's a replacement/supplement for suspend or hibernate or both). We probably also need options for that on application launcher and logout screens.
I don't think so. I do, for instance, use the hybrid suspend on battery and regular suspend on AC. Besides, the more flexible the configuration is, the better ;-)
I haven't really looked into what hybrid suspend really does (ie. whether it's a replacement/supplement for suspend or hibernate or both).
It prepares the machine for S4 but enters S3 in the end. The advantage of this mechanism is that if you loose the battery power during S3 sleep, the system later normally boots and resumes as if it was woken from S4 sleep. Disadvantage is slightly longer preparation before entering the suspend mode.