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 02:24 PM
  2. Rukbat's Avatar
    Moving this to the developer forum for better exposure. (And I apologize for not giving you an answer, but I've never played with setExact() or doze.)
    10-02-2019 04:26 PM
  3. hallux's Avatar
    Our pals down in the developer's area might be able to help - https://forums.androidcentral.com/android-developers/

    You'll need to be a member to post new threads there, and to reply to this thread - see this link for instructions on how to join Android Central.

    We can also have this thread moved there so it gets the visibility it deserves.

    Edit - posted at the same time as @Rukbat
    10-02-2019 04:26 PM
  4. mustang7757's Avatar
    10-02-2019 07:34 PM

Similar Threads

  1. Replies: 18
    Last Post: Today, 01:04 PM
  2. Do Not Disturb Won't Auto-start/stop Since Last Week's Android 10 Update
    By KPMcClave in forum Google Pixel 3 & Pixel 3 XL
    Replies: 11
    Last Post: 10-08-2019, 05:59 AM
  3. Why can't I answer an incoming call on my Note 10+ when I have an app open?
    By texxkatt in forum Samsung Galaxy Note 10 & Note 10+ (2019)
    Replies: 3
    Last Post: 10-03-2019, 01:30 PM
  4. Is the lack of a decent screen protector a valid reason to pass up on the S10+
    By Android Central Question in forum Ask a Question
    Replies: 0
    Last Post: 10-02-2019, 10:44 AM
  5. Replies: 1
    Last Post: 10-02-2019, 10:18 AM
LINK TO POST COPIED TO CLIPBOARD