From b669f97fd18d6de49c6b6d6a28b77d6ecb321a5f Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Mon, 31 May 2010 14:04:29 -0500 Subject: Try falling back to standby suspend of mem is not available. It saves less power, but is the only option available on some systems. Thanks, Dylan Smith. --- pm/pm-functions.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pm') 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 -- cgit v1.2.3