PM: Enable early suspend through /sys/power/state
authorArve Hjønnevåg <arve@android.com>
Fri, 10 Oct 2008 02:17:11 +0000 (19:17 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:08:42 +0000 (09:08 -0700)
commitb0dc34309fc9f98de480aa383c7f6f035ce3b54a
tree6b8633a1b37edc00b10a8c05a27eb35795a3776f
parentc1783f55b10d7dfb4ada9a7149821b644255d8df
PM: Enable early suspend through /sys/power/state

If EARLYSUSPEND is enabled then writes to /sys/power/state no longer
blocks, and the kernel will try to enter the requested state every
time no wakelocks are held. Write "on" to resume normal operation.
kernel/power/main.c
kernel/power/suspend.c