Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Iphone Apple

iPhone Alarm Bug Leads To Mass European Sleep-in 487

nk497 writes "A flaw in the alarm clock in iPhone 4s gave Europeans a bit of a lie-in this morning. While the Apple handsets automatically adjusted to daylight savings time, a bug in the alarm system meant many were woken up an hour later than they should have been, after clocks rolled back over the weekend. Annoyingly, Australia was hit by a similar problem last month, but Apple failed to fix the problem or even warn users. American Apple fans, consider yourselves warned. The iOS4 bug can apparently be avoided by using one-off alarms, rather than pre-set regular wake-up calls."
This discussion has been archived. No new comments can be posted.

iPhone Alarm Bug Leads To Mass European Sleep-in

Comments Filter:
  • Another day (Score:2, Insightful)

    by pablo_max ( 626328 ) on Monday November 01, 2010 @10:07AM (#34088556)

    and another ridiculous Apple story makes it to the front page.

  • Re:Another day (Score:1, Insightful)

    by jra ( 5600 ) on Monday November 01, 2010 @10:10AM (#34088596)

    "Hey, you might be late to work and get fired next Monday cause you have poor taste in cellphone manufacturers" is a ridiculous story?

  • Re:Another day (Score:4, Insightful)

    by Americano ( 920576 ) on Monday November 01, 2010 @10:14AM (#34088652)

    Yes, its a ridiculous story.

    Get a proper alarm clock for redundancy if you're in a job so sensitive that oversleeping once will get you fired, even with no history of tardiness.

    If you're really paranoid, make it a wind-up clock so you don't have to worry about losing power.

  • by noidentity ( 188756 ) on Monday November 01, 2010 @10:16AM (#34088682)
    The real bug is that we change the time at all, considering all the problems it brings.
  • by balaband ( 1286038 ) on Monday November 01, 2010 @10:17AM (#34088688)
    With all new fancy (and not so fancy gadgets), you can NEVER be sure has the damn thing changed the time correctly or not. So you wind up watching weather forecast on TV, only to check the clock in the corner.

    Note to engineers everywhere: if your gadget DO change the time, please use some kind of notification that it did so. Otherwise, we can presume that time is wrong, and that we have to manually adjust it
  • by Culture20 ( 968837 ) on Monday November 01, 2010 @10:23AM (#34088760)
    Not one comment yet about the real culprit here: daylight savings time. If we didn't have it anywhere in the world, then programmers wouldn't have to worry about when DST happens in different timezones (or which places have DST and which don't), or worry about what to do with log files or anything else when time jumps an hour.

    Someone remind me please what we're saving? It's not electricity, because we use lightbulbs before sunrise and after sunset in summer and winter.
  • by Anonymous Coward on Monday November 01, 2010 @10:29AM (#34088874)

    Daylight savings saves (hence the name) billions every year in electricity costs. I live in a country that doesn't implement daylight savings, and while it's nice not to have to worry about changing clocks, it's utterly stupid becuase in summer it gets light at 4:30am and the sun goes down at 7:30pm at the latest. Moving that hour of light from 4:30-5:30am and tacking it on to 7:30pm-8:30pm saves a lot of utilities and has all sorts of beneficial effects like reducing car accident rates. The British in WWII set their clocks two hours ahead all year long to save on scace resources in order to defeat national socialism.

    It's also a real bummer to be out at the bar all night long and see streaks of sunrise peeking up..."damn it's only 4:30, we have an hour and a half of partying left before we even start thinking about breakfast!"

  • by Ga_101 ( 755815 ) on Monday November 01, 2010 @10:29AM (#34088886)
    Who most likely doesn't live in the North. I like seeing daylight every now and then.
  • by moronoxyd ( 1000371 ) on Monday November 01, 2010 @10:32AM (#34088940)

    The problem isn't that iOS is not open source, the problem is that Apple didn't fix the bug after it appeared a month ago in Australia.

  • by kidgenius ( 704962 ) on Monday November 01, 2010 @10:33AM (#34088944)

    The British in WWII set their clocks two hours ahead all year long to save on scace resources in order to defeat national socialism.

    So why not just leave it that way if you can save resources?

  • by ElectricTurtle ( 1171201 ) on Monday November 01, 2010 @10:35AM (#34088972)
    I don't know anybody under the age of thirty who doesn't use their phone as an alarm clock.
  • by definate ( 876684 ) on Monday November 01, 2010 @10:53AM (#34089220)

    Oh also, I get to set rules, such as wake me up at this time on Monday to Thursday. This time on Friday, this time on the weekend. And once off at this time. All with different ringers.

    Never had such a valuable alarm clock.

  • by skine ( 1524819 ) on Monday November 01, 2010 @10:57AM (#34089288)

    You obviously don't know me.

    However, unlike the iPhone, my alarm clock does adjust itself for daylight savings.

  • by Lumpy ( 12016 ) on Monday November 01, 2010 @11:07AM (#34089428) Homepage

    My $19.95 Alarm Clock also woke me up this morning...

    Best part is that it's better than an android or iphone as it never need recharging. I simply replace it's 9V battery every time I replace the fire alarm batteries. Plus I have a snooze that can easily be triggered without even opening my eyes, another feature that is impossible on an iPhone and Android, or any other cellphone from what I discovered.

  • by Monkeedude1212 ( 1560403 ) on Monday November 01, 2010 @11:27AM (#34089692) Journal

    Hi, nice to meet you, now you do.

    I USED to use my phone as an alarm clock when I was in-between houses and couch-jumping from friend to friend - all of which who still live with their parents.

    All in all though - I'm terrible at getting myself out of bed. Sleep is like a drug, my semi-conscious self in the mornings will battle it out mentally on whether I can spare another 5 minutes with my eyes closed or not. My phone, being a touch device, can dismiss the alarm with a simple mash, and that'll be the end of it.

    Whereas my alarm clock, even with the snooze button, will continue to go off every 9 minutes at least. I've used this to my advantage though - since I know It usually takes me hitting the snooze button 5 times before getting out of bed, I just set my alarm 45 minutes early. It doesn't make a whole lot of sense, in actuallity I get less sleep this way, but it works for me.

    Point is though - phones today don't cater to this rather niche area where I want to be able to look over and see what time it is whenever, and not have to pickup my phone or anything. Likewise, I want a large snooze button, and a simple way to turn it off but not so simple you can do it without some focus.

    And in before someone says "Why don't you just put your alarm clock (or phone) across the room, forcing you to get out of bed before you turn it off?"

    I have tried this, and it results in me falling back to sleep on the floor and not in my bed, which isn't pleasant to wake up to.

  • by Jahava ( 946858 ) on Monday November 01, 2010 @11:30AM (#34089750)

    I see a lot of posts with hate for DST.. that's fine, I'd be happy if it were abolished as well.

    But now back to there being a bug in how the alarm thing is handled on the iPhone. How does that bug even exist?

    If the alarm is set for a particular time, say "7am".. then what does it matter whether or not the clock went back an hour at 3am? I can understand the alarm app going a bit batty if the clock went back at 8am (essentially the alarm going off -twice- that day), but given the actual circumstances... how did the alarm decide that it should instead be going off at 8am? The clock, presumably, does give the correct time.. so it's not like its internal time functions don't know what time it actually is. I'm confused. Is this just some manner of shoddy coding going on?

    I'll venture a guess:

    Applications, especially ones using phone APIs, usually aren't running 24/7. At a high level, what they will do is, in some manner, register for an event with the operating system. They will then idle indefinitely until that event occurs, at which point the operating system will give the application execution time and it will respond to that event. The event can be several things, including "when the user taps the screen" and "if the phone is powered on", and notably (for this discussion) can be based off of time, such as "8 hours from now".

    My guess is that, when an alarm is set, the alarm calculates the amount of time in the future until it needs to be sounded, then registers with the OS to be woken that much time later (probably via some form of nanosleep iOS API derivative). If the alarm fails to factor in DST when calculating that time difference, then it'll get its event later (or earlier, or whatever) than it was expecting, and sound (and then probably calculate the next time difference and sleep until then).

    On the surface, an alarm application could register for more periodic events (clock ticks, UI update loop iterations, or just sleep for seconds at a time) and evaluate if it should sound periodically. This would have easily avoided the DST issue. The problem here is that each time the event gets dispatched, the phone has to wake up to handle it, and such periodic waking would cost unnecessary battery. In fact, the OS knows how / when / for how long to sleep based on scheduler details derived from some form of these event registrations. Applications in general (and especially on battery-consuming devices) should attempt to register for the least number of events as possible, hence (I'm guessing) why they chose the time delay calculation option instead of a periodic one.

  • by tepples ( 727027 ) <tepplesNO@SPAMgmail.com> on Monday November 01, 2010 @11:46AM (#34090046) Homepage Journal

    So why not just leave it that way if you can save resources?

    Going forward a time zone permanently would waste resources in the morning during the winter. DST is designed to make dawn closer to constant.

  • by StripedCow ( 776465 ) on Monday November 01, 2010 @12:39PM (#34090930)

    Not one comment yet about the real culprit here: daylight savings time.

    This sounds an awful lot like: the real problem is that you're holding it the wrong way.

  • by Aqualung812 ( 959532 ) on Monday November 01, 2010 @12:56PM (#34091146)
    The point is, you're moving the hottest part of the day 1 hour closer to the time that automatic AC kicks on to cool the house for the evening.
    If you could get 1 hour through the hottest part of the day before doing that, the AC will run better and require less power to bring the house back down to the desired temp. Of course, if you don't use a programmable thermostat, it doesn't matter.
  • by dcw3 ( 649211 ) on Monday November 01, 2010 @01:19PM (#34091482) Journal

    If you and your girlfriend aren't careful, you'll get Baby 1.0. That'll wake you up very early, and without fail.

    No, they're as safe as houses. They use the iPhone rhythm method app for contraception so what could possibly go wron.... oh wait.

    You realize there's a name for women who use the rhythm method...

    Mommy

  • This is how (Score:2, Insightful)

    by Anonymous Coward on Monday November 01, 2010 @01:20PM (#34091492)

    It is pretty simple. Here's my theory:

    1) The user picks an alarm time in his local time zone.
    2) The software converts that time to UTC.
    3) When you go from daylight saving to standard time, you technically switch between two time zones.
    4) But since the alarm time was stored in UTC, the alarm goes off the same time it has always done. Its just that in your new time zone this is an hour later.

    So why does the software do all this? Well, its common practice to store your datetime fields in UTC and only convert them to the local time zone for display.

    Unfortunately this has some rather bad side effects when its an alarm. :-)

"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."

Working...