What is doze mode in android - devrath/AndroidQuestionsAlchemy GitHub Wiki

What is a Doze Mode
Doze mode was introduced in Android-Marshmellow.
- It helps to improve the battery life by
reducing the background activity when the device is not in use.
- It improves the battery life also by not sacrificing the important notifications.
- Doze mode becomes active when the device is
idle and the screen is turned off.
What are restricted in Doze Mode
- Network Access
- Sync Jobs
- Wake Locks
When are the tasks resumed
- The tasks are batched up and executed in periodic intervals of time.
- This conserves the device's battery.
Are all the background tasks stopped in Doze Mode
- It's important to note that Doze mode doesn't completely disable all background tasks.
- High-priority tasks, such as alarms and important push notifications, can still wake up the device and operate normally.
- Additionally, certain apps may be exempted from Doze restrictions to ensure they function properly.