Android Marshmallow's Doze saves a ton of battery, but here's how to activate Aggressive Doze
But for Doze to activate, a number of conditions must be met, otherwise your phone will be stuck in its usual state of light sleep indefinitely. Most important among these perhaps is the need for your device to be completely stationary and for it to sense no motion for a while. So if you're walking around or doing anything with your phone in your pocket, Doze won't activate. That makes sense for most users, as it implies that the device could end up being used at any moment, but also limits the feature. Enter Aggressive Doze.
Aggressive Doze is an experimental feature available with the popular Greenify app that does something alike to what Doze does today, only it existed long before it. With Doze in Marshmallow, however, Greenify's appeal was suddenly greatly diminished, so the developer behind is currently testing said new experimental feature, which is only available in the beta build of the app. With it enabled, Doze can be forced onto the device much sooner, and the condition of no motion can be turned off. We haven't had the opportunity to test out just how it compares to using a Marshmallow phone with the built-in Doze feature, but we've been hearing good things, and so here a quick guide on how to get Greenify Beta and how to activate Aggressive Doze (root helpful, but not required).
Things that are NOT allowed: