http://blog.csdn.net/hzdysymbol/archive/2009/03/19/4004791.aspx
http://letsgoustc.spaces.live.com/blog/cns!89AD27DFB5E249BA!526.entry
in /sys/power/ there are 3 files: "state, wake_lock, wake_unlock"
The wake_lock is for partial wakelock mechanism. You can do:
$ echo mylock > /sys/power/wake_lock
The system will check this, and won't go in to real suspend.
To unlock, just echo the same name to "wake_unlock"
$ echo mylock > /sys/power/wake_unlock
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment