startForeground()
does not automatically acquire a WakeLock
. Whether you need a WakeLock
depends upon what your service is doing.
Does using startForeground(int, Notification) in a Service acquire a WakeLock?
Question
I'm having a hard time figuring out if I need to acquire a WakeLock if I'm also using startForeground().
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow