Android Technology Explained

How Android Doze Works to Optimize Battery (And How to Disable It)

Ben Stegner Updated 21-08-2019

Everyone wants to squeeze more battery life out of their phones. And while you can manually optimize battery usage to a point, nobody wants to worry about that all the time.


That’s why Google includes its own battery optimizer for Android, called Doze, as part of the operating system. While this feature is beneficial a lot of the time, it can also interfere with functionality in some apps.

Here’s what you need to know about battery optimization on Android and how to turn it off for certain apps.

What Is Battery Optimization?

In case you’re not familiar, battery optimization is a function (known as Doze) built into Android 6.0 Marshmallow and above. It preserves battery life by limiting what apps can do in the background.

Apps use what’s called a wakelock to keep your device alive even while you’re not actively using it. By default, Android wants to go into a “deep sleep” when your screen is off, but this can pose a problem for some apps. For instance, you don’t want Spotify music to stop playing just because your phone’s screen is off. Thus, app developers use wakelocks to keep their services alive when needed.

While wakelocks are important, developers can abuse them. This is why Facebook and many other apps kill your Android battery in the background. Doze helps fix this issue by providing limited “maintenance windows” that allow apps to check in every once in a while, instead of constantly. The longer your phone is dormant, the more time passes between these windows.


Android Doze Chart

In many cases, this is a great feature. But for apps that rely on steady connections, it can pose an issue. Thankfully, you’re able to turn it off.

How to Turn Off Android Battery Optimization

To disable battery optimization for any Android app, perform the following steps:

First, visit Settings > Apps & notifications. Tap See all X apps at the bottom of the Recently opened apps list to see everything on your phone. Choose the app you want to make the adjustment for.


Next, expand the Advanced section on the App info page. Select Battery and you’ll open another menu with several battery settings.

Continuing on, tap the Battery optimization entry and you’ll see a list of apps again. On the bar at the top of the screen, tap Not optimized and change it to All apps so you can see everything. Once again, select the app that you want to change.

You’ll see a new window; select Don’t optimize here to turn off battery optimization for that app.


This will prevent Doze from restricting the app’s background usage. If the app still behaves strangely after you do this, you may also consider turning off Adaptive Battery under Settings > Battery. This is a separate but similar feature Android uses to optimize battery usage.

Over time, it learns what apps you don’t use often, and limits battery usage for those apps. However, you shouldn’t need to disable this in most cases.

What Apps Should You Disable Optimization For?

What types of apps run into problems with Doze? The following are some you might consider tweaking:

  • Messaging apps like WhatsApp, Telegram, and your SMS app. Battery optimization can cause message notifications to arrive late.
  • VPN apps. Battery optimization can cause VPNs to drop the connection when your phone screen is off.
  • Photo backup apps. You may want to consider disabling battery optimization for apps like Google Photos that automatically back up your photos to the cloud. Often, you’ll open it and see that the app hasn’t backed up pictures in days. This could lead to you losing photos if something happened to your device in the meantime.
  • Any apps that are otherwise time-sensitive. Apps such as SMS schedulers may fail to send your scheduled messages on time when they’re optimized for battery usage.

Remember that you should disable battery optimization sparingly. Doing so for too many apps will have a negative effect on battery life.

What About Other Battery Optimization Apps?

We’ve seen how to disable Android’s native battery optimization to take control over your apps. Give this a try next time you see an app misbehaving.

What if you want to go further with battery life? As it turns out, we don’t recommend battery optimization apps, as they do more harm than good. See our proven tips for better Android battery life 10 Proven and Tested Tips to Extend Battery Life on Android Suffering from poor battery life on Android? Follow these tips to get more juice out of your Android device's battery. Read More for methods that actually work.

Related topics: Android Tips, Battery Life, Troubleshooting.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. puppykicker
    December 4, 2018 at 5:33 am

    It is important to turn optimization off for VOIP calling/Texting apps (Dingtone, Telegram), ad blockers that use VPN (Blokada), and security apps (Sophos).

  2. Fish&Chips
    November 5, 2018 at 5:44 pm

    Do you ever notice when you're listening to music using a media player app downloaded from the Market that the sound seems lacking at that time and you're doubly sure this was not the case before ? Most likely caused when MusicFX app stops or fails to start. This happens in my Lenovo Yoga tablet, never seems to happen in my phone. In most Android devices, Music FX is a System app so media player apps have to work with it or avoid it by instructing the user to disable it temporarily. With my setup, taking into consideration my device it's Android version, and the apps I installed in it, I don't think it can withstand the Hibernating superpowers of Greenify. In my case, the media player was just playing music on it's own in the absence of MusicFX which the media player could not invoke under the watch of the more powerful Greenify.

    Excluding MusicFX app from Battery Optimization means Greenify will ignore it or can't touch it. So any time other media player will call on it to enhance the sound output MusicFX springs out every time unfaltered.

  3. Seb
    August 20, 2018 at 6:24 pm

    Security camera apps such as "Arlo" for example, suffer from doze by giving notifications 10 - 15 minutes late. This is kind of a big deal for home security! Hope this helps someone.

  4. Aeroplane
    April 4, 2018 at 8:57 pm

    Downloader apps, especially the ones that can be configured to automatically start, or ones that can keep downloading even with screen off, and ones that can be programmed, or does a lot of backgrounod tasks, MUST BE EXCLUDED from Battery Optimization. ex. ADM goes haywire when not excluded from Battery Optimization. EXCLUDE DOWNLOADER APPS !!