Not. This would be the perfect way to quickly drain your phoneβs battery. If the phone is asleep, let it sleep if you do not have a GOOD reason (in this case you will use the AlarmManager for a one-time wake-up in the future).
I donβt know what you are trying to achieve, but you need to use a completely different approach. Tickling the net would be a good idea, for example, assuming that you can only live with your app with 2.2+.
EboMike
source share