What is the minimum duration between 2 exact alarm trigger for Android 5.0? -
i using alarmmanager.setexact
triggering repeating alarm on api level 21 (lollypop) https://developer.android.com/reference/android/app/alarmmanager.html#setexact(int, long, android.app.pendingintent)
but broadcast receiver not receiving pending intent consistently.
is there restrictions on duration between 2 exact alarm trigger?
after searching while found restriction apply setexactandallowwhileidle
on api level 23. docs "under normal system operation, not dispatch these alarms more every minute (at point every such pending alarm dispatched); when in low-power idle modes duration may longer, such 15 minutes."
also alarmmanager.setexact
on api level 21 android 5.0 has bugs associated later fixed on api level 22, android 5.1 (lollipop_mr1)
Comments
Post a Comment