Hi,

Had a look through the reference and i cannot find anywhere that
allows you to set up a listener to listen to power state changes.

My service holds the phone in SCREEN_DIM_WAKE_LOCK power state and
what i would like to do is apply KeyguardLock when we enter into the
DIM state, as this is not a default operation.

Does anyone have any idea's about how to listen to or obtain the
current power state?

Thanks, Liam.
--~--~---------~--~----~------------~-------~--~----~
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