Early on in init.rc, we exec an executable that under certain circumstances will block and do something for a long time (many minutes or even hours). This is the desired behavior. All the while the screen is illuminated and being updated by the executable. Eventually, that executable will complete and the init sequence will continue.
Once that executable completes and init begins running again, the screen blacks out momentarily, but then returns once android begins running. I've tried writing a wake lock from the init script using the write command, but it does not appear to keep the display illuminated. The Java API for wake locks provides for different types of wake locks (PARTIAL, SCREEN_DIM, etc). What's the type when using /sys/power/ wake_lock and is there a way to keep the screen illuminated using /sys/ power/wake_lock? -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
