Alarm not received during sleep

view story

http://stackoverflow.com – Alarm not received during sleep. I have an alarm set to midnight to update my view once the alarm goes off. The alarm works when the device is awake - have have tested this by changing the time to midnight etc. However when testing on my phone it does not work during sleep. I had my phone on sleep a few hours before midnight and then checked the app at around 8am. However the view did not update so i assumed the alarm was not received. I have tried the following on the emulator - put the device to sleep just before midnight and then wake up the device after midnight. However i can see the (HowTos)