I'm trying to check if the phone is currently asleep in a service.
It's currently a very messy implementation (I'm reading a file in the
filesystem that says if the phone is asleep or awake every 10 seconds)
so I'm wondering if this is possible with PowerManager or something.

Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to