package: mate-power-manager
Version: 1.24.1-1

Steps to reproduce:
1. Use Debian Mate with a laptop with a low battery.
2. Mate sends the message that the battery is low and it is about to hibernate.
3. The machine actually enters Hybrid Sleep.

This commit gives a clue: 
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/8e6a82c585fe16978f9e1ca3437a4b96dd4e6d34
Another clue is found by running upower -d, which on my machine, says the 
configured action is hybrid sleep.

Apparently now UPower performs the action rather than the power-manager so that 
the action will occur even if a desktop session is not running. I looked at the 
dbus documentation for UPower and it doesn't seem possible to set the hibernate 
action that way. Only way I could find was  editing /etc/UPower/UPower.conf. I 
can't really see a path forward other than removing critical action from 
mate-power-manager preferences. I guess mate-power-manager should also be 
updated to read the critical action configured in UPower over dbus and notify 
the user what action will occur rather than reading its own gsettings key so at 
least it can give accurate information.

Reply via email to