Open alexzorin opened 9 years ago
You're right, although the amount of battery life used by this is basically none. The alarm is set using setInexactRepeating()
, which means Android will schedule the alarm in sync with other alarms (so if you have five alarms, Android will wake up once to service all five). Also, only the CPU gets woken up (not the radio).
Even so, I'd happily accept a pull request that disabled the alarm.
Don't really do Android but wouldn't it save some battery life/alarm invocations to just disable the 30 min alarm if notifications are disabled?
At the moment my reading of it is