1. Syed Noorullah Shah's Avatar
    I'm trying to test the behavior of my Android app when the OS goes in Doze mode. I'm using a gennymotion emulator running Android API 25. The application launches an IntentService through the AlarmManager using the method setExact with type RTC_WAKEUP. I set the alarm to fire after 1 minute (only for testing purposes).I succeed to put the emulator in IDLE state by running the suggested dumpsys (force-idle) command.
    When the device is IDLE I'm still able to see the IntentService being launched by the alarm. This should not be the expected behavior according to the docs. I was expecting the opposite(since according to docs, setExact() is not triggered if the device is on doze mode).
    I have even tested this on a real device (running Android 6) and getting the same results.

    Is this a bug? Or am I missing something?
    10-02-2019 05:46 PM
  2. hallux's Avatar
    10-02-2019 06:01 PM
  3. Rukbat's Avatar
    Thread closed to avoid parallel discussion.
    10-03-2019 01:12 PM

Similar Threads

  1. phone not ringing incoming calls
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 10-03-2019, 01:26 PM
  2. Why is Doze mode not affecting AlarmManager setExact() method?
    By Syed Noorullah Shah in forum Software Development and Hacking
    Replies: 3
    Last Post: 10-02-2019, 08:34 PM
  3. My note 10 plus is going on to vibrate automatically
    By Android Central Question in forum Samsung Galaxy Note 10 & Note 10+ (2019)
    Replies: 3
    Last Post: 10-02-2019, 06:00 PM
  4. Why is Doze mode not affecting AlarmManager setExact() method?
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 10-02-2019, 05:26 PM
  5. My note 10 plus is going on to vibrate automatically
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 10-02-2019, 05:23 PM
LINK TO POST COPIED TO CLIPBOARD