Doze is amazing - probably the best feature of Android ™ Marshmallow . But with caveats.
With Naptime by tilting the options " Aggressive dozing " ( and assuming you 're rooted ) Doze will kick in right after you widescreen and it disables your sensors so it does not kick you doze mode if you move. When the screens of your device everything is back to normal . It 's just like magic.
For More Info Google Play
Download root Naptime Premium 2.0.2 APK For Android