When to acquire wakelock for an intent service?
问题 I am trying to understand the use of partial wake locks in android. I have a wakeful intent service which starts another intent service. If I don't acquire a wakelock for the called intent service, the intents will be processed when the CPU wakes up? Is there any scenario where these intents are not processed at all? 回答1: If you call startService() [whether directly or by calling send() on a service PendingIntent], it starts up the OS's process of spinning up that service. The device going to