I registered a WakefulBroadcastReceiver that gets called at some time and based on the content of the broadcast decides to start a service to process the intent or not.
My question is: Is there a wakelock registered even if the startWakefulService
is not called? If so, how do I release the wakelock again?
Is there a wakelock registered even if the startWakefulService is not called?
No, there is not, as you can tell by looking at the WakefulBroadcastReceiver
source code.