If your phone is running Android 6(Marshmallow) or above, then you must be knowing that it comes with a new battery conserving feature – DOZE.
For those who don’t know what DOZE is – it’s essentially mode that your Android phone enters when it’s idle(screen OFF). In DOZE mode, apps are restricted from excessive background activity and are instead given some ‘maintenance windows’ to do their work.
Since apps won’t be using the phone’s resources continuously as they do otherwise, DOZE helps conserve your phone’s juice.
Now that you know what DOZE is and the perk of having it, you can obviously tell that it best to have it enabled. And that’s how it is, by default.
But, if you –
- have upgraded from a previous Android version and are unable to see any improvement in battery life.
- using Marshmallow or Nougat but are skeptic about extraordinary battery life that it promises.
- [want to make sure such nice feature is enabled]
then, there’s good chance that DOZE is disabled on your phone for whatever reasons. Here’s the way to fix without having any apps on the phone or even root access. Follow the steps below –
- Download Minimal ADB and install it on your PC
- Launch the command interface by running cmd-here.exe from the installed folder.
- Connect your phone to PC via USB after enabling USB debugging on your phone
Navigate: Settings > Developer options.
If Developer options isn’t available, navigate: Settings > About phone then tap Build number 7 times.
- Ensure that the Developer options switch (located in the upper-right) is turned on .
- Tap USB debugging to turn on or off .
- If prompted “Allow USB debugging?”, tap OK to confirm.
- Type adb usb in the command window opened earlier & hit enter.
- Next run adb devices command. Now your phone should show up as connected device with its serial number(don’t worry about the number, its unique to each device).(If you don’t see your phone listed after running the command, your PC probably doesn’t have proper drivers. Download your phones drivers from here and install it on the PC and then try this step again.)
- Finally, run the following command-
adb shell dumpsys deviceidle enable
Now you should a message saying that Deep idle mode and Light idle mode are enabled as shown above, indicating DOZE is activated. If you want to disable DOZE mode, just repeat the same command by replacing enable with disable.(you wouldn’t do that, would you?)
If you’ve followed all the 6 steps correctly, then congrats! You have enabled DOZE on your Android device, this time for sure!
- To ensure all apps are optimized with DOZE : Go to Settings > Battery. Tap 3-dots menu at the top right corner > Battery optimization. Next, under ‘Not optimized’ apps list, tap on all possible apps and select ‘Optimize’ for each.
- You can also force your phone to enter DOZE mode instantaneously instead of its automatic schedule. I’m not sure how much of use this can be when the screen is on but its good to know. The command to use for this is adb shell dumpsys deviceidle force-idle
- Now that you know how to toggle the DOZE mode, you can try to see the difference in battery life yourself. Turn off DOZE when your phone’s battery is full the next time and use until battery is low. See the battery usage history in Settings and save screenshot for later. Turn on DOZE the next time you charge it fully and try to have similar usage profile like last time(without DOZE). Compare results and comment below if you find anything interesting.
Update : Here are my observations:
- BATTERY USAGE HISTORY
- Screen on time (SOT)
- Overall battery life is extended by atleast an hour when DOZE is on.
- Screen on time is much better when DOZE is enabled.
This confirms our theory that DOZE does a solid job at conserving battery.
I hope you’ve found this tutorial simple & useful. Still if you have any queries, drop them down below in the comments section. Also, share this tutorial with your friends who may also benefit from this. Lastly, you can check out the facebook page if you don’t want to miss more cool stuff like this.