Add "Hybrid suspend" option to suspend actions and button handler actions.
The action is already supported by Solid.
Details
- Reviewers
sebas broulik - Commits
- R122:c6b76da7a679: Add UI for hybrid suspend mode
Diff Detail
- Repository
- R122 Powerdevil
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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.