[android-developers] Deep sleep behaviour
Hi,
I'm a bit new to the deep sleep behaviour in Android and am having trouble replicating it. (If I have any device connected to my computer for debugging I'm not seeing the deep sleep)
I am guessing that it is affecting an application which I am writing.
The application has a countdown which I have been using a service with a Handler and postAtTime to decrement the counter. I suspect that deep sleep is pausing the counter so I think I will move to using AlarmManager to have things occur at certain times.
What I was wondering was, during deep sleep, if I have a service which listens to the acceleration and the battery state, will these still work when the phone is in deep sleep?
Also, is there a way to induce deep sleep? (so I can perform testing)
Thanks for any help!
Regards,
Julius.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home