When no wake locks are held, the CPU will not run at all, and time has effectively stopped for most scheduling (that is scheduling based on SystemClock.uptimeMillis(), which is what most things like Handler and Java timeouts use).
On Tue, Sep 8, 2009 at 10:19 PM, sukumar bhashyam < bhashyam.suku...@gmail.com> wrote: > Hello, > I have some basic doubts with Deep Sleep on Android device. Deep sleep will > turn the CPU to OFF. Suppose if I have a service which does some operations > every 5 sec and I din't acquire any power manager locks in my service. > > When device goes to Deep sleep, will my service still running?. > > If CPU is turned off on Deep Sleep, when Device comes out of Deep Sleep, > will my service continues(resumes) its operations which it was doing > earlier?. > > Can anyone please help me out in understanding this. > > Thanks, > Sukumar. > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---