What is Doze?
As we all know Android normally allows apps to run in the background, checking for new data, receiving notifications, and generally doing whatever they want. This is fine if you’re using your phone, but your phone doesn’t constantly need to be waking up if you’ve set it down on a table and walked away for a few hours. Doze kicks in when you aren’t using your device. When haven’t touched your phone in a while, it will go into a deeper sleep mode. (In technical terms, Doze prevents wakelocks from waking your device, keeping it in a lower-power sleep state.) This is especially useful for a phone you might leave on your coffee table, too. Rather than waking up all the time, the phone will be dozing most of the time, which should stretch its battery life much further.