Reputation: 1319
I've observed strange behaviour on some Samsung devices (Galaxy A5 maybe others)
setExactAndAllowWhileIdle()
for times bigger than 15 minutes is shifted approximately 3 minutes
The alarm is set on lets say 10.20, I can do it in debug mode so I see it is ok, and when device is asleep it triggers on 10.23
This behaviour does not appear when device is plug in.
It has been tested on many other devices (LG, OnePlus, Xiaomi) and there were no such problems.
Samsung Battery saver is turned of for my app.
Is there any way to avoid such shifting on Samsung devices ?
It looks like not the it is not delaying the alarm when it sleep, but adding time when using metod setExactAndAllowWhileIdle
, because alarms setted during sleep mode are shifted as well when device is waked up
Upvotes: 2
Views: 634