How does coding for an alarm clock work?

Jul 20, 2001
54,937
1,619
126
#1
I noticed that the battery on my iPhone drains faster if I set the alarm clock. Does a script constantly check to see if it’s time to ring the alarm?
 

Steelbom

Senior member
Sep 1, 2009
269
0
76
#2
I've done a fair bit of programming, a bit on iOS in particular. I don't really know the answer, but it doesn't seem likely that the alarm clock will drain your iPhone (noticeably) faster. I suspect the app would be checking the time periodically but again, not so much that it should hurt battery life in any noticeable way.
 

ASK THE COMMUNITY

TRENDING THREADS