Use wake locks

When it's necessary, you can use wake locks to keep the device from going to sleep.

Under some circumstances, you may need to keep the device awake even when your app is in the background. To do this, you can create a wake lock.

This guide explains the following areas:

This guide assumes you're familiar with the following topics: