Wakelocks
Wakelocks
Posted Dec 23, 2011 23:14 UTC (Fri) by dlang (guest, #313)In reply to: Wakelocks by mjg59
Parent article: Bringing Android closer to the mainline
at least not unless every app can take them, but that's not what happens in android, only 'trusted' apps are allowed to take the wakelock.
in android they still use timeouts for most of userspace consuming events, and sidestep a huge amount of it by having the power controller have a wakelock for the entire time the screen backlight is on so that you don't have to scatter wakelocks through every app.
there are many of us who think that there are better ways of dealing with this userspace problem, but the problems of doing our own kernels makes it hard to experiment.
Posted Dec 23, 2011 23:25 UTC (Fri)
by neilbrown (subscriber, #359)
[Link] (4 responses)
Posted Dec 24, 2011 6:20 UTC (Sat)
by dlang (guest, #313)
[Link] (3 responses)
even if I am trying to compile my own android kernel, there doesn't seem to be any way of installing it on a device in a way that will let me fall back to the older kernel if I run into problems with the new one (the equivalent to the old lilo -R option)
the integration of things into the mainline will greatly help the first problem, but I still don't know a good solution for the second one.
Posted Dec 24, 2011 11:50 UTC (Sat)
by mjg59 (subscriber, #23239)
[Link]
Posted Dec 24, 2011 12:30 UTC (Sat)
by Cyberax (✭ supporter ✭, #52523)
[Link]
It's _always_ possible even if your firmware is totally corrupted and even battery controller is dead. In some cases it requires a magic jig, though (a 101kOhm resistor shorting two USB lines).
Posted Mar 19, 2012 14:14 UTC (Mon)
by jimmyflip (guest, #83547)
[Link]
Wakelocks
Wakelocks
Wakelocks
Wakelocks
Wakelocks