5 ms·
> Some calls to that API on some OEMs device round alarms to the nearest minute, some to the nearest ten minutes. WHY? What benefit does that serve?
by colejohnson66 8y ago
> Some calls to that API on some OEMs device round alarms to the nearest minute, some to the nearest ten minutes.
WHY? What benefit does that serve?
- TheCoelacanth 8y agoProbably a crude way to stop apps from waking themselves every minute.
- WrtCdEvrydy 8y ago'Performance' Edit: It's become the new '911'... Family Guy Joke!
- apexalpha 8y ago>WHY? Because China. Having lived in China for a few months with an Android phone I can with absolute certainty tell you that this is needed over there. The amount of garbage apps, even from big companies like baidu is enourmous! And without a Google playstore, or play services, or play safety thing it is an absolute wild-west of background alarms, API calls, battery draining and whatnot.
- mfoy_ 8y agoSorry, how does rounding to the nearest minute or nearest TEN minutes solve any problems? Like are apps setting alarms for every 3 seconds or something for no reason??
- apexalpha 8y agoYes. Rounding to 10 min means you fire up the cpu and do all apps at once then go idle.
- mfoy_ 8y agoOh, so when we say "alarms" we mean "background processes that occur at set intervals"? Not literally "alarms", like the ones that ring?
- richardwhiuk 8y agoBoth.
- arantius 8y agoLimits the potential battery impact. Without this restriction, how long before an app maker schedules their alarm every millisecond?
- richardwhiuk 8y agoRounding timers can greatly increase battery life, at the expense of apps not working - but who checks that apps work on their phone before buying it?