10

Doze behaviour has been changed in Nougat. Doze is implemented in two stages

When a device is on battery power, and the screen has been off for a certain time, the device enters Doze and applies the first subset of restrictions: It shuts off app network access, and defers jobs and syncs.

If the device is stationary for a certain time after entering Doze, the system applies the rest of the Doze restrictions to PowerManager.WakeLock, AlarmManager alarms, GPS, and Wi-Fi scans.

My question: What are the typical timings for step 1 and 2?

  • Even in Marshmallow , I could not find a reference to exact timing but was reportedly between 20 and 40 minutes.

  • I am wondering if timings have been specified now, though my search didn't yield anything

  • 1
    This is interesting. Already tried asking at XDA? Maybe someone already explored the code. – Death Mask Salesman Aug 30 '16 at 13:11
  • @DeathMaskSalesman: I didn't ask there mainly because of high noise content but searched- couldn't come across anything. For that matter as mentioned in question, even Marshmallow timings don't have a definitive answer AFAIK – beeshyams Aug 30 '16 at 13:31
  • I guess that your best bet would be to ask Francisco Franco. He's the developer of Naptime, an app which forces Doze to be activated immediately upon the screen has been locked. Since the app allows the user to edit various parameters as to influence the deep sleep duration, time after Doze kicks in and so on, it means that the dev has the answer you're searching for. – Death Mask Salesman Aug 30 '16 at 16:20
  • 1
    @DeathMaskSalesman : once these developers upgrade app to N, there may be an idea. Thanks again – beeshyams Aug 30 '16 at 16:37
  • 2
    No problem, then. He seems to respond in a day or two. – Death Mask Salesman Aug 30 '16 at 20:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.