Starting from Android Marshmallow (Android 6.0; API level 23) all Android devices takes care of battery optimization by default and force system to use as small connectivity, resources and CPU as possible to achieve it. There are two power-saving features which reduce battery consumption and one of it is DOZE…