Dear forum,

I wrote a service which continuously reports data to a remote server
via HTTP. As a service should do it keeps working even when the
Android is turned off (by a short press on the power button) and is
not powered externally. This works fine on a Motorola Milestone
(Android 2.1) until the battery holds but not on neither HTC Tattoo
nor HTC Magic (both Android 1.6). On the 1.6 devices the service stops
working after about 30 minutes for 30 minutes. Then it seems to work
for 5 minutes again and stops again for 30 minutes and so on. I seems
that there is some (undocumented?) power management acting which
prevents to keep the Android running continuously when softly turned
off. When I press a button and turn off again the service is working
immediately for 30 minutes and the trickles starts again as described
above.

My questions are:

1) Is this behavior documented?
3) Is this special for Android 1.6 or just for HTC devices
4) How to turn off this feature?

Thanks

spachner

-- 
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

Reply via email to