More comment tweaks re: Kobo suspend

This commit is contained in:
NiLuJe
2016-03-01 02:23:50 +01:00
parent 06e1bd4ed2
commit 150aac1630

View File

@@ -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