> Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK. As> the 
> documentation states for ACQUIRE_CAUSES_WAKEUP:
 Thanks but that doesn't solve my problem, I really, really want to
turn the screen off after some time of inactivity and turn it on only
after a message arrives or the user touches the screen or button. I'm
starting to think PARTIAL_WAKE_LOCK won't work and I'll have to use
timers to turn screen off by releasing a FULL_WAKE_LOCK. I never
thought turning the screen on and off would be so difficult.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to