summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorKate Hsuan <hpa@redhat.com>2024-03-22 20:01:43 +0800
committerKate Hsuan <hpa@redhat.com>2024-04-25 16:07:11 +0800
commit69436647c5548af662318dac21ca25396f47ad0a (patch)
treee351e05aa05a25e48ef23e402dafd76d978066a9 /etc
parent469346b6bf9b2d5e218d6322e4c84131de32f4e6 (diff)
linux: up-backend: A safeguard for the risky CriticalPowerAction
If AllowRiskyCriticalPowerAction is true and the CriticalPowerAction is "Suspend", The "Suspend" can be the CriticalPowerAction. Otherwise, "HybridSleep" will be the CriticalPowerAction.
Diffstat (limited to 'etc')
-rw-r--r--etc/UPower.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/UPower.conf b/etc/UPower.conf
index 5e9ad31..ffae2b1 100644
--- a/etc/UPower.conf
+++ b/etc/UPower.conf
@@ -97,7 +97,7 @@ AllowRiskyCriticalPowerAction=false
# HybridSleep
# Suspend (AllowRiskyCriticalPowerAction should be true to use this option but risky)
#
-# If Suspend isn't available or AllowRiskyCriticalPowerAction=false, Poweroff will be used
+# If Suspend isn't available or AllowRiskyCriticalPowerAction=false, HybridSleep will be used
# If HybridSleep isn't available, Hibernate will be used
# If Hibernate isn't available, PowerOff will be used
CriticalPowerAction=HybridSleep