Download this app to your desktop
Empower Android's Doze Mode to the limit!
Because why the hell not?
Doze is amazing - arguably the best feature of Android™ Marshmallow, Nougat and Oreo. But with its caveats. It can take at least 2 hours to kick in (if the device is stationary, not charging etc). 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.
With Naptime by toggling in the "Aggressive doze" options (and assuming you're rooted) Doze will kick in right after you screen off. When your device screens on everything goes back to normal. It's just like magic.
You can also see the log of each state.
If you don't want to use "Aggressive doze" you can tune all the framework doze options. Although it's a bit for advanced users each item is bundled with a description.
Never settle with bad battery life again with Naptime.
To use Naptime's features without Root you need to grant it DUMP permission via ADB on your computer by executing this command:
adb -d shell pm grant com.franco.doze android.permission.DUMP
You also need to grant WRITE_SECURE_SETTINGS permission:
adb -d shell pm grant com.franco.doze android.permission.WRITE_SECURE_SETTINGS
After these two permissions are granted you'll be able to use Naptime freely.
With 'Aggressive Doze' doze is being forced after you screen off. Doze is, currently, the most powerful battery saving mechanism on Android.
The following restrictions apply to your apps while in Doze:
· Only high-priority push notifications are delivered;
· Network access is suspended;
· The system ignores wake locks;
· Standard AlarmManager alarms are deferred to the next maintenance window:
· The system does not perform Wi-Fi scans;
· The system does not allow sync adapters to run;
· The system does not allow JobScheduler to run;
Apps like Gmail, which use normal-priority notifications, have them delivered during the maintenance window or when you wake up your device. This is standard behavior and can't be changed
Although, you can choose apps to bypass doze. Go to Settings -> Battery -> overflow ->Battery optimization -> All apps -> Your app -> Don't optimize
That'll allow apps like Spotify to bypass the forced doze and actually work on screen off.
It works together with the 'Disable motion detection' feature and allows you to choose up-to one app (sorry, Android limits us to only one app) to request sensor information even if you disable motion detection.
For example it allows apps, such as Google Fit, to query the accelerometer or gyroscope to count your steps.
This might happen if you're disabling the motion sensors. The reason for this is simple, for system brightness & auto-rotate settings to work after screening on they must be toggled on/off (otherwise they won't work) and therefore it may blink (even if it's only for a couple milliseconds).
Unfortunately not all devices will work fine when disabling motion sensor detection and in the process some other sensors & functionality might stop working. There's nothing I can do about it and your only option is to not use that setting enabled. There's also some weird compatibility with LG phones where the display doesn't even turn on again if this setting is enabled.
cool app guys thank you so much it saves my battry on idle really truely.. n drain battery in 4 hours onl1% wow