How to Manage Doze Mode in Android Marshmallow