Android Doze Mode: Improve Battery Life - A Guide

Understanding Android 6.0 Marshmallow's Doze Mode
With the release of Android 6.0 Marshmallow, a significant enhancement to battery performance was introduced: the Doze mode. This feature was specifically engineered to extend battery longevity on Android smartphones and tablets.
How Doze Mode Works
Essentially, Doze puts your device into a deep sleep state when it's left inactive for a period. This intelligent system conserves power by limiting background activity. The goal is to provide a seamless experience, operating automatically without requiring user intervention.
However, while Doze is designed for automatic optimization, users have the ability to customize its behavior for even greater battery savings.
Benefits of Utilizing Doze Mode
- Extended Battery Life: The primary benefit is a noticeable increase in the time between charges.
- Automatic Operation: It functions in the background, requiring no manual activation or management.
- Customization Options: Users can fine-tune settings to optimize performance based on their usage patterns.
By intelligently managing background processes, Doze helps ensure your Android device remains powered throughout the day.
Understanding Doze Mode on Android
Typically, Android operating systems permit applications to operate continuously in the background. This allows for data updates, notification delivery, and other functions. However, constant background activity isn't necessary when a device is idle.
Doze mode is activated when your device remains unused for a period. When the phone hasn't been interacted with, it enters a more profound sleep state. Technically, Doze restricts wakelocks, preventing the device from waking unnecessarily and conserving power.
During Doze, only critical notifications, such as incoming calls and instant messages, are permitted to activate the device. Background synchronization for apps is limited.
Instead of continuous syncing, Android schedules periodic "idle maintenance windows." These windows allow apps to complete their tasks in batches. The intervals between these windows increase with prolonged device inactivity.
Benefits Beyond Smartphones
The advantages of Doze mode extend to other devices as well. For example, a tablet left on a surface will benefit significantly. By remaining in a dozing state for extended periods, battery life can be substantially improved.
This feature is particularly effective in scenarios where a device is not actively used, maximizing its operational time between charges. Battery life is extended by minimizing unnecessary background processes.
- Doze mode conserves power by limiting background activity.
- High-priority notifications still function during Doze.
- Apps sync data during scheduled maintenance windows.
Ultimately, Doze mode represents a significant enhancement to Android's power management capabilities, offering users a more efficient and prolonged battery experience.
A key limitation exists regarding the functionality of Doze. The system is only activated when the device remains entirely stationary.
Simply carrying your phone, even if unused for a period, will likely prevent Doze from engaging. The system relies on accelerometer data to detect movement.
For Doze to become operational, the phone must be completely still, such as when placed on a flat surface. This motionless state is a prerequisite for battery optimization.
Doze Mode and Critical Notifications
Even with Doze mode activated, certain notifications designated as "high priority" will continue to be delivered to your device. Essential communications, such as SMS texts and incoming calls from your mobile carrier, are designed to bypass Doze's restrictions.
Your phone will also reliably wake for scheduled alarms, ensuring you don't miss important reminders. This functionality is built-in to guarantee critical time-sensitive alerts are received.
Furthermore, applications like Google Hangouts, Facebook Messenger, and WhatsApp can be configured to send notifications with "high priority" status. These designated messages will be delivered promptly, without being subject to Doze's delays.
However, the majority of notifications are not flagged as high priority. Consequently, alerts from applications like Candy Crush will not interrupt Doze mode, contributing to improved battery conservation.
Preventing Abuse of the System
To prevent developers from misusing the high priority notification feature, Google requires these notifications to be routed through Google Cloud Messaging. This centralized system allows Google to monitor and control the usage of high priority notifications.
Should an app developer be found to be abusing the system, Google retains the authority to revoke their access to this functionality.
Exceptions for Essential Applications
A limited number of applications, where Doze mode would significantly hinder core functionality, are permitted to whitelist themselves. This ensures these apps can continue operating as intended.
For instance, automation tools such as Tasker fall into this category. Detailed information regarding these exceptions can be found in Google’s official documentation.
The impact of Doze mode on most applications is minimal. Background synchronization will still occur, but at reduced frequency. This is generally acceptable when the device is not actively in use.
- Doze mode prioritizes essential notifications.
- Google Cloud Messaging regulates high priority access.
- Certain apps can whitelist to maintain functionality.
Ultimately, Doze mode aims to optimize battery life without compromising the delivery of critical information.
Preventing Apps From Entering Doze Mode
Well-coded applications generally function without issue when the Doze mode is active. However, if immediate notifications from a specific application – such as Gmail – are required, permission can be granted for it to operate even during dozing. It’s important to acknowledge that this will likely lead to increased battery consumption.
Accessing Doze settings involves opening the Settings application on your Android device. Navigate to "Battery," then tap the menu icon, and finally select "Battery optimization."

A listing of applications currently excluded from optimization will be displayed. Google Play Services is consistently present in this list. Additionally, certain system applications provided by the device manufacturer may require background execution capabilities.
To view all installed applications, tap the "Not optimized" dropdown menu and choose "All apps."

By default, all applications are optimized for battery usage, indicated by the phrase "Optimizing battery use" beneath each entry. To exempt an application from Doze mode, simply tap its name in the list and select "Don't optimize."
This action allows the selected application to continue running in the background, even while the device is in Doze mode. This adjustment should only be made if an application is malfunctioning or if real-time notifications are essential. The majority of applications are designed to function correctly within Doze mode, and users typically won’t perceive any difference.

Understanding Battery Optimization
- Doze mode is a feature designed to extend battery life by limiting background activity.
- Certain apps may require exceptions to function correctly or deliver timely notifications.
- Granting exceptions increases battery drain.
Carefully consider the necessity of disabling Doze mode for any given application. Prioritize battery life unless there's a demonstrable need for uninterrupted background operation.
Enhancing Doze Mode for Increased Battery Savings
Related: Optimizing Android Battery Life Using Greenify
Doze mode is engineered to function autonomously in the background, requiring no direct user intervention. However, for those desiring greater control, configuration through third-party applications is possible.
Recent iterations of Greenify incorporate a novel "Aggressive Doze" functionality. This feature prompts Doze mode to activate at a faster rate. Instead of waiting for several hours, Greenify can initiate Doze within minutes of device inactivity, potentially yielding substantial power conservation based on individual usage.
This capability does not necessitate root access, making it universally accessible. To utilize it, install Greenify, initiate the application, access the menu, and select "Settings." Enable the "Aggressive Doze (experimental)" option. Detailed dozing duration information can also be displayed via a configurable notification, should you wish to monitor its operation.

Alternative methods for Doze mode adjustment exist, though they are comparatively more complex. The Doze Settings Editor application, for instance, allows for the modification of numerous parameters and the application of pre-defined profiles, thereby adjusting Doze’s aggressiveness.
However, this application requires root privileges. If root access is unavailable, the app will present adb commands that can be employed to configure Doze mode manually.
Image Source: TechStage on Flickr
