[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
One more thing: FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I don't want to use them because of effects on the battery. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 10:02 AM, Pinheiro rui.c.pinhe...@gmail.com wrote: One more thing: FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I don't want to use them because of effects on the battery. Huh? Your effects on the battery are already there with what you're trying

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
Hi! Thanks for the answer. FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I Huh? Your effects on the battery are already there with what you're Well, at least the screen is off and I don't have to make a screen saver (don't know if LCD burn-in is still a problem?) ;-)

Re: [android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 10:22 AM, Pinheiro rui.c.pinhe...@gmail.com wrote: specifically told Android not to turn the screen on, by using PARTIAL_WAKE_LOCK.  I want it to turn off automatically until a message is received or the user touches something.  As I said, reading the docs

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
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

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
 Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK  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. Update: PARTIAL_WAKE_LOCK

Re: [android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 11:04 AM, Pinheiro rui.c.pinhe...@gmail.com wrote: 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