How to use Battery Optimization (Doze mode) in Android Marshmallow?

  • Posted on: 30 October 2015
  • By: sasi

Doze mode is a new battery saving feature launched in Android Marshmallow. Here is what the Android Developer Docs say about Doze mode:

'If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode. In Doze mode, the system attempts to conserve battery by restricting apps' access to network and CPU-intensive services. It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms.

Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network.'

But you might have certain apps that you want to run at all times. Follow the below steps to exclude an app from entering the Doze mode:

  • Go to settings>>battery
  • Open menu by tapping the menu icon (3 dots menu icon)
  • Tap 'Battery optimization'
  • Select 'All apps' from the dropdown
  • Tap any app that you want to exclude
  • Battery optimization doze mode

  • Select 'Don't optimize' and confirm by tapping 'Done'