Wake locks are not released on activity onPause/onStop, not suprisingly
Bad news : receivers are mostly not woken up.
Does the Android OS release a wakelock if the app or service holding it is killed? It is unanswered.
Also have a look here, answered in the affirmative and android app lock required for socket connection? for err socket connections.
Beginner questions: Wakelocks, check the answer and also What's the best between AlarmManager and Handler+WakeLock? for links to the docs as well as AlarmManager's wake lock when starting a service and BroadcastReceiver, Service and Wakelock answer.
And from google groups : When does the platform hold wakelocks? as well as Observation and comments on Android and "regularly" scheduled events.
And the wakeful manual.
No comments:
Post a Comment