Tuesday, July 21, 2015

Android sleep

1. Wake up
write on /sys/power/state
2. Sleep
write mem /sys/power/state

Why mem?
I think mem means that suspend to RAM (memory).

From the Linux Document
https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-power
and https://www.kernel.org/doc/Documentation/power/states.txt

No comments: