Hi All: At android power manage service, it have early suspend and late resume mechanism to control devices such as LCD backlight, touchscreen, when wake lock free/expired or user request suspend, the kernel will call early suspend workqueue, and execute the registered early suspend handler. when the user(PowerManageService) request "on" (echo "on" > /sys/power/state) , the late resume handlers will be called.
My question is, 1, when the PowerManagerService(PowerManagerSerivce.java) write "on" to /sys/power/state (using SetScreenState(true) ), 2, and how the services know the resume of system to write /sys/power/state ? Thanks in advance, --- Best regards, Zhang Jiejing -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting To unsubscribe, reply using "remove me" as the subject.