Add option 'Suspend' for PercentageAction and TimeAction
Submitted by cal..@..ree.fr
Assigned to Richard Hughes
I don't understand why 'Suspend' wouldn't be allowed in the values for the PercentageAction and TimeAction.
My use case is: I'm using my laptop, and run out of battery (I forgot to plug the charger, in most cases, or I thought it was plugged and it isn't). It's nice if I can configure it to suspend, so I see the screen turn black, and I have time to find and plug the charger.
A quick web search reveals that many people are in my case.
I think it wouldn't hurt to allow users to configure the option "suspend to RAM" when the battery runs out.
Reference: UPower.conf from GIT.