Google’s latest mobile operating system, Android 6.0 Marshmallow, comes with many changes, but one notable feature that it offers is called Doze. Basically this feature prevents apps from sucking your battery life when your device is not in use. For example, when you have left the device on a table, Doze will detect this by using sensors and will enter apps into a sleep mode, thereby reducing battery use when your device is not in use.

Doze will also detect whether your device’s screen is off and not moving, and then it will send apps into this sleep mode so that apps consume less battery power during this mode. While it certainly sounds like a great idea to save some battery power, but what if you want certain apps to continue to run in the background and want notifications from them? In this case, you can disable Doze mode just for that particular app. In this short tutorial, we will show you exactly how to do this.

How to add apps to Doze Whitelist on Android 6.0 Marshmallow

Adding apps to Doze Whitelist on Android 6.0 Marshmallow is really easy. Just follow these four simple steps:

Step 1: Launch the Settings app from app drawer.

Step 2: Tap on Battery and then open the overflow menu from the top-right corner and then choose Battery Optimization.

Step 3: From this screen, toggle from Not Optimized to All Apps.

Android 6.0 Marshmallow

Step 4: Just find the app that you want to add to the whitelist, tap on it and then choose “Don’t Optimize.” As you can read in this screen, selecting this option may drain your battery more quickly.

That said, we wouldn’t recommend you whitelist a lot of apps as it could really affect your battery life. Keep in mind that adding more apps to this whitelist may have a negative impact on your battery life.