It's just like magic.You can also see the log of each state.OptionsIf you don't want to use 'Aggressive doze' you can tune all the framework doze options. When your device screens on everything goes back to normal. If you move around, even with the screen off, doze won't kick in, so there are a lot of potential battery saving opportunities lost, gone with the wind.SolutionWith Naptime by toggling in the 'Aggressive doze' options (and assuming you're rooted) Doze will kick in right after you screen off AND it disables your sensors so that it doesn't kick you out from doze mode if you move around.
It can take at least 2 hours to kick in (if the device is stationary, not charging etc). Empower Android's Doze Mode to the limit!Naptime X is exactly the same as the free Naptime, just without ads!Why?Because why the hell not?Doze is amazing - arguably the best feature of Android™ Marshmallow, Nougat and Oreo.