From 150aac1630c942a8b555db79d1eea8a8847f63c8 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Tue, 1 Mar 2016 02:23:50 +0100 Subject: [PATCH] More comment tweaks re: Kobo suspend --- platform/kobo/suspend.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/kobo/suspend.sh b/platform/kobo/suspend.sh index 818a217c1..5f275a4f3 100755 --- a/platform/kobo/suspend.sh +++ b/platform/kobo/suspend.sh @@ -15,7 +15,9 @@ fi current_wakeup_count="$(cat /sys/power/wakeup_count)" echo "[$(date +'%x @ %X')] Kobo Suspend: Current WakeUp count: ${current_wakeup_count}" echo 1 > /sys/power/state-extended -echo "[$(date +'%x @ %X')] Kobo Suspend: Asked for a Sleep mode suspend" +# NOTE: Sets gSleep_Mode_Suspend to 1. Used as a flag throughout the kernel to suspend/resume various subsystems +# cf. kernel/power/main.c @ L#207 +echo "[$(date +'%x @ %X')] Kobo Suspend: Asked the kernel to put subsystems to sleep" sleep 2 echo "[$(date +'%x @ %X')] Kobo Suspend: Waited for 2s because of reasons..." sync