CriticalPowerAction=Suspend should be supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Upower |
Fix Released
|
Unknown
|
|||
upower (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
The action to take when the battery is critical can only be one of the following:
# Possible values are:
# PowerOff
# Hibernate
# HybridSleep
Adding Suspend to that list makes perfect sense. My laptop is currently powering off on low power which is useless as I'll be losing my work anyway. Might as well suspend and allow me to notice that and connect a charger. If the thinking is that suspend uses power I can set a high enough threshold to give me some margin.
The failovers are:
# If HybridSleep isn't available, Hibernate will be used
# If Hibernate isn't available, PowerOff will be used
I'd argue Suspend should actually come before PowerOff in that list. For most laptop users having their computer suspend because they didn't notice the battery was running out is very easy to fix and takes no time. They'll just connect the charger. If however the computer needs to be completely rebooted, not only does that take a lot more time it will very likely cause lost work.
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: upower 0.99.10-1
ProcVersionSign
Uname: Linux 5.0.0-32-generic x86_64
ApportVersion: 2.20.10-0ubuntu27.3
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Nov 17 14:32:13 2019
InstallationDate: Installed on 2019-05-09 (191 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
SourcePackage: upower
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in upower: | |
status: | Unknown → New |
Changed in upower: | |
status: | New → Fix Released |
Thank you for your bug report, it has been reported upstream as well on /gitlab. freedesktop. org/upower/ upower/ issues/ 23
https:/
Which got that reply
'Suspend still uses significant amounts of power, and if you run out of power and do a hard powerdown when suspended bad things can happen.'