Noam Wolf
2008-11-29 17:15:37 UTC
I have a BroadcastReceiver which acquires a lock onReceive. I use an
alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my
intent. I have found that when the phone is locked (and asleep) it
will not wake up sometimes, and when it does many times it will have a
delay (up to 30 seconds from when the alarm manager was supposed to go
off).
I don't understand how/what I'm doing different than the AlarmClock
application since I'm acquiring the lock in the receiver. I've also
seen the screen turn on but then immediately turn off....
Does anyone have any ideas as to why this is happening? Or has anyone
run into this? Is RTC_WAKEUP stable and trustworthy?
Any help would be greatly appreciated.
alarm manager with AlarmManager.RTC_WAKEUP set to broadcast my
intent. I have found that when the phone is locked (and asleep) it
will not wake up sometimes, and when it does many times it will have a
delay (up to 30 seconds from when the alarm manager was supposed to go
off).
I don't understand how/what I'm doing different than the AlarmClock
application since I'm acquiring the lock in the receiver. I've also
seen the screen turn on but then immediately turn off....
Does anyone have any ideas as to why this is happening? Or has anyone
run into this? Is RTC_WAKEUP stable and trustworthy?
Any help would be greatly appreciated.