diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-13 02:46:32 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 11:06:53 +0200 |
commit | 68b9975ad98b94a28ce2e2ca21316e603d464f1a (patch) | |
tree | ca1b10096a7c2d6bca0b32913f1fc14575eefc99 /etc | |
parent | 28438a7672eec8277341d14121bf267f8e0542b3 (diff) | |
download | upower-68b9975ad98b94a28ce2e2ca21316e603d464f1a.tar.gz |
daemon: Add CriticalPowerAction
Paraphrasing from the configuration option:
The action to take when "TimeAction" or "PercentageAction" above has
been reached for the batteries (UPS or laptop batteries) supplying
the computer.
This is done 20 seconds after the warning-level variable got set
to UP_DEVICE_LEVEL_ACTION has been set, to give the opportunity
to front-ends to display a (short) warning.
This is only implemented for the Linux backend, using logind.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/UPower.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf index 331743a..801f52f 100644 --- a/etc/UPower.conf +++ b/etc/UPower.conf @@ -76,3 +76,15 @@ PercentageAction=2 TimeLow=1200 TimeCritical=300 TimeAction=120 + +# The action to take when "TimeAction" or "PercentageAction" above has been +# reached for the batteries (UPS or laptop batteries) supplying the computer +# +# Possible values are: +# PowerOff +# Hibernate +# HybridSleep +# +# If HybridSleep isn't available, Hibernate will be used +# If Hibernate isn't available, PowerOff will be used +CriticalPowerAction=HybridSleep |