Android 7.1.1 - Sony Xperia X Compact without root access enabled.
Using ADB from Windows, so, I granted required permissions (DUMP and WRITE_SECURE_SETTINGS); furthermore I excluded ForceDoze under "battery optimization" in Android.
I left my phone with screen off for ten minutes (I set ForceDoze to trigger Doze after 1 minute), waiting for Doze.
Then, after 10 minutesI opened GSAM Battery Monitor and clicked on the Triangle button on the bottom and selected "Since Screen off"; then on "WakeLock" to see the time spent in Doze: GSAM reported 5m 17s spent in Doze and ForceDoze reported 51 seconds.
In ForceDoze's logs I never see "Entering Doze"
I repeated this test after a reboot, leaving the phone in deep sleep for a longer time (I'm also using Better Battery Stats for a deeper investigation):
Deep Sleep: 46 m 35 s 94,5%
Awake (Screen Off): 1 m 51 s 3,8%
ForceDozeTempWakelock (com.suyashsrijan.forcedoze.ForceDoze): 55 s Count:1 1,9%
AnyMotionDetector (Sistema Android): 10 s Count:18 0,3%
GSAM: doze light 24m 57s doze deep 15m 51s
ForceDoze time spent: 47m 27s
But again, in ForceDoze's logs I never see "Entering Doze".
Please notice that I disabled the permanent notification of ForceDoze, since seems that this option eat more battery. For now I also reset and uninstalled ForceDoze, since every time that I turn on and turn off the screen, the ForceDozeTempWakelock increase (but also the last night, when I didn't touched my phone in 1 hour of deep sleep: ForceDozeTempWakelock(com.suyashsrijan.forcedoze.ForceDoze): 1 m 59 s Count:3 2,0%), but during the day, when i often turn on and off the screen, such wakelock increase a lot.
ForceDoze for me, is also not able to disable the motion sensor: in Bettyer Battery Stats, in facts, I always see the AnyMotionDetector wakelock, despite the fact that in ForceDoze I disabled the motion sensor. To be more clear no one else "Force Doze" application works as expected for me.
Android 7.1.1 - Sony Xperia X Compact without root access enabled.
Using ADB from Windows, so, I granted required permissions (DUMP and WRITE_SECURE_SETTINGS); furthermore I excluded ForceDoze under "battery optimization" in Android.
I've done a test suggested by the developer:(https://www.reddit.com/r/Android/comments/5ynonq/dev_forcedoze_now_supports_nougat_and_adds_many/derpcay/)
I left my phone with screen off for ten minutes (I set ForceDoze to trigger Doze after 1 minute), waiting for Doze. Then, after 10 minutesI opened GSAM Battery Monitor and clicked on the Triangle button on the bottom and selected "Since Screen off"; then on "WakeLock" to see the time spent in Doze: GSAM reported 5m 17s spent in Doze and ForceDoze reported 51 seconds.
In ForceDoze's logs I never see "Entering Doze"
I repeated this test after a reboot, leaving the phone in deep sleep for a longer time (I'm also using Better Battery Stats for a deeper investigation):
GSAM: doze light 24m 57s doze deep 15m 51s ForceDoze time spent: 47m 27s
But again, in ForceDoze's logs I never see "Entering Doze".
Please notice that I disabled the permanent notification of ForceDoze, since seems that this option eat more battery. For now I also reset and uninstalled ForceDoze, since every time that I turn on and turn off the screen, the ForceDozeTempWakelock increase (but also the last night, when I didn't touched my phone in 1 hour of deep sleep:
ForceDozeTempWakelock(com.suyashsrijan.forcedoze.ForceDoze): 1 m 59 s Count:3 2,0%)
, but during the day, when i often turn on and off the screen, such wakelock increase a lot.ForceDoze for me, is also not able to disable the motion sensor: in Bettyer Battery Stats, in facts, I always see the AnyMotionDetector wakelock, despite the fact that in ForceDoze I disabled the motion sensor. To be more clear no one else "Force Doze" application works as expected for me.
Let me know if I can do more tests.