Is WAKE_LOCK the only solution to a background service that is only active when a specific event occurs?
Asked
Active
Viewed 250 times
1 Answers
0
Without a wake lock, the device usually goes to sleep a few seconds (30-60, usually) after the screen is locked.
During this period, only the radios are kept on low power to receive calls, SMS and push notifications. Everything else, like your app, will be paused.
If you want to continue working with the screen off, you should obtain a wakelock.

Raghav Sood
- 81,899
- 22
- 187
- 195