QUOTE(attw @ Sep 6 2018, 08:59 AM)
Thanks for the recommendation bro, let me try it out and see. Any root required?
Guide to installing and running Naptime, with Aggressive Doze for great standby time (for those who don't know it already) - C & P from XDA.
You'll first need to download and install Minimal ADB and Fastboot on your PC, from
here.
Download and install Naptime on your phone but don't open the app (because it would be pointless to do so, at this point).
You'll then need to enable Developer options on your phone
like so.
When you've done that, access developer options and enable USB debugging. Connect your phone to your PC and call up Minimal adb.
Type in "adb devices" (without quotes) and your device's serial number should be displayed on the adb UI. You'll now need to input the 2 commands found on Naptime's PS
page.
'
Q: Rootless mode?
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.'
You can now exit adb and disconnect your phone from your PC. Next, you can disable USB debugging and exit or turn off Developer options.
Done. Launch Naptime and check it out. I recommend staying with the default settings. You'll also need to whitelist Naptime at the battery optimisation section of settings. Naptime will tell you how.
I suggest installing a battery monitor like GSam to view deep sleep frequencies both before AND after installing Naptime.