I want to send my app to sleep and then wake it up at set times. I have it going to sleep but not waking up.
This sets the wakelock:
private void setWake
as above. The problem was that I was using a broadcast receiver within the calling activity.