Using device_idle_constants under global settings nougat can doze
sooner than usual and with specific settings. No root required. The
screenshot is the drain of 4% battery over about 7 hours of sleep
which equates to about -0.57% an hour sleeping.
This app does require the secure settings permission. The app will tell you have to do this via ADB.
The full configuration is here for those who want to know:
inactive_to=2592000000motion_inactive_to=2592000000light_after_inactive_to=15000light_pre_idle_to=30000light_max_idle_to=86400000light_idle_to=43200000light_idle_maintenance_max_budget=30000light_idle_maintenance_min_budget=10000min_time_to_alarm=60000
This app does require the secure settings permission. The app will tell you have to do this via ADB.
The full configuration is here for those who want to know:
inactive_to=2592000000motion_inactive_to=2592000000light_after_inactive_to=15000light_pre_idle_to=30000light_max_idle_to=86400000light_idle_to=43200000light_idle_maintenance_max_budget=30000light_idle_maintenance_min_budget=10000min_time_to_alarm=60000