summaryrefslogtreecommitdiff
path: root/pm/pm-functions.in
diff options
context:
space:
mode:
Diffstat (limited to 'pm/pm-functions.in')
-rw-r--r--pm/pm-functions.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index dfbc59f..c1b00b3 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -296,6 +296,9 @@ if [ -z "$SUSPEND_MODULE" ]; then
elif [ -c /dev/pmu ] && pm-pmu --check; then
SUSPEND_MODULE="kernel"
do_suspend() { pm-pmu --suspend; }
+ elif grep -q standby /sys/power/state; then
+ SUSPEND_MODULE="kernel"
+ do_suspend() { echo -n "standby" >/sys/power/state; }
fi
fi