![]() |
Re: The alarm works whilst powered off! How?
Quote:
|
Re: The alarm works whilst powered off! How?
I'm sure that the system has a real time clock chip (maybe a DS1337) that only pulls a few microwatts when the rest of the phone is powered down. The alarm software sets the next alarm time on the real time clock chip. That chip will signal an interrupt line and will also signal the voltage regulator to power up the device. The phone on startup notices that the alarm fired and will notify the user. Any phone with the right hardware should be able to do this.
|
Re: The alarm works whilst powered off! How?
Quote:
There's nothing special about "Act-dead" mode for the alarm, other than the fact that it's coded into most of the bootup scripts that if the device is triggered in that mode a lot of those will not run; so the device "starts" quite quickly because it just ignores a bunch of normal bootup proceedures. The downside to that is that if you want to keep the device on after the alarm, it has to actually restart in order to properly process all of that "normal boot" process. The coolest part about it all really though is that you can use the AlarmD interface to boot "normal" mode and do things from power down as well... it's not a feature of the built-in alarms application as far as I know... but proper usage of the AlarmD api allows it. Take a look at FlipClock for example. We use the AlarmD api to register alarm events... so if you set an alarm within Flipclock, turn your device off... when the time for that alarm comes up, the device automatically boots, launches FlipClock, and triggers your alarm! That API and custom ability is what makes the whole alarmD thing so cool/unique on the Nokia devices... (btw for the record, the battery charging is actually an even more stripped down "act-dead" mode... the device actually powers up, loads frame buffer drivers for the display/etc, then shows you the charging screen). |
All times are GMT. The time now is 17:38. |
vBulletin® Version 3.8.8