I think, it is like when you suspend, 1)early suspend handlers are invoked 2)checks any active wake lock, if yes exit suspend and wait for wake event 3)if any wakelock is released in this wait, again check for active wake locks 4) if no wakelocks are being held proceed with the kernel suspend function.
Regards, Arun On Mon, Jan 23, 2012 at 4:26 PM, Viddhu <[email protected]>wrote: > I am new to android kernel development. > As I investigate android suspend flow, I find that registered drivers > entering in to early_suspend state after which it is forwarding to > complete suspend state. I understand that it is due to wake locks > preventing Android to go in to suspend state. Is it like Android never > moves to complete suspend state & continue to stay in EARLY SUSPEND > state only whenever device is locked as there will be active wake > locks all the time? > > Can you elaborate on this more? > Thanking you in advance > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
