ADB Wifi disconnects with wake lock? - Nexus 4 Q&A, Help & Troubleshooting

I have wake lock activated on my phone (with PARTIAL_WAKE_LOCK which turns off the screen after few seconds but which leaves everything else awake).
https://lh6.ggpht.com/iJzC8JE6moEBG4Pb6hZoJScXqUiXRRdP5sxCHZFsE5iydyDgduSU7w32fzSOGpoQLCbt=h900-rw
The problem that I have now, is that I am loosing ADB Wifi connection whenever that screen turns off, even that phone is in a wake lock. And I am unable to reconnect to it again after that (while screen is still off).
Does anyone know how to keep phone from disabling ADB Wifi connection?

kdar1987 said:
I have wake lock activated on my phone (with PARTIAL_WAKE_LOCK which turns off the screen after few seconds but which leaves everything else awake).
https://lh6.ggpht.com/iJzC8JE6moEBG4Pb6hZoJScXqUiXRRdP5sxCHZFsE5iydyDgduSU7w32fzSOGpoQLCbt=h900-rw
The problem that I have now, is that I am loosing ADB Wifi connection whenever that screen turns off, even that phone is in a wake lock. And I am unable to reconnect to it again after that (while screen is still off).
Does anyone know how to keep phone from disabling ADB Wifi connection?
Click to expand...
Click to collapse
Well i have it working with 2.3..... "Upgrades" always degrading my efforts tho
Please let me know if you figured this out... I think it has to do with the "security" of a "locked" screen.
I have screen lock off... So my idea seems wrong

Related

Wifi not connecting on 'wake up' after some time

I have my home wifi connected, and set to 'turn off when screen off'. The problem is that my phone doesn't seem to connect back to wifi if the wake the phone up after some time. This never was an issue with Captivate. But with this, even using a widget to turn on wifi doesn't seem to work. I need to go through all the way to wifi settings through the settings app manually turn it off and on.
Anyone else facing this issue?
I'm not because I have it set to always stay on. When I know I'm not going to he using the wifi heavily or I simply don't need it, I turn it off.
Rooted/ROM Captivate (For Sale)
Rooted Atrix

Screen keeps turning on

No I don't have daydream on and turned off all the gestures and motions thing but the screen keeps turning on. I usually notice it when it is connected to wifi and turns on and then takes it to enter the password even though it has fingerprint setup.

Screen wakes when losing/reconnecting to data

I noticed that when my phone was sitting still the screen would randomly turn on, not just to the ambident display screen but to the lockscreen. I realized it was happening anytime the phone lost its data connection and had to reconnect. I can replicate it by turning airplane mode on then off and immediately turning the screen off with the power button. After about 5 seconds, the screen turns on again on its own. I've tried disabling ambient display, daydream, tasker, and bluetooth, but it still happens. I have unlocked the bootloader and changed the dpi but everything else is stock, no root. Any help would be greatly appreciated.
I'm having a similar problem. Did you ever find a fix MaxPower99?

Always-on OK Google not always turning on the screen

Always-on OK Google is awesome, but for some reason it only turns on the screen about half the time for me.
When it doesn't turn the screen on, it still listens and reacts to commands though, but without the screen on I can't see what it's doing so I still have to manually press the power button to turn on the screen to see the results, effectively defeating the purpose of having it always on (for hands-free operations).
Is anyone else experiencing the same issue? Is there a solution?
Did you turn on Smart lock for OK google?
chichu_9 said:
Did you turn on Smart lock for OK google?
Click to expand...
Click to collapse
I did turn on Smart Lock, with trusted devices, trusted places, trusted face and trusted voice enabled.
Yeah I see it... it seems a little buggy, but for me it *always* comes on if it is locked. Not so much when it is unlocked (just sleeping).
I set the screen to lock 5 seconds after screen sleeps.
Solutions Etcetera said:
Yeah I see it... it seems a little buggy, but for me it *always* comes on if it is locked. Not so much when it is unlocked (just sleeping).
I set the screen to lock 5 seconds after screen sleeps.
Click to expand...
Click to collapse
Thanks for the confirmation. Come to think of it I only started to notice this issue after I set the screen to lock 5 minutes after the screen sleeps. I'm now setting it to 1 minute instead to get a better compromise between OK-Google-ability and convenience of not having to unlock while I use the phone frequently.
Hopefully Google will come around to fix this obvious bug in the not-too-distant future too.
ydooby said:
Always-on OK Google is awesome, but for some reason it only turns on the screen about half the time for me.
When it doesn't turn the screen on, it still listens and reacts to commands though, but without the screen on I can't see what it's doing so I still have to manually press the power button to turn on the screen to see the results, effectively defeating the purpose of having it always on (for hands-free operations).
Is anyone else experiencing the same issue? Is there a solution?
Click to expand...
Click to collapse
do u have on tap enabled? cause I had the same issue and fixed it by disabling on tap.
valapsp said:
do u have on tap enabled? cause I had the same issue and fixed it by disabling on tap.
Click to expand...
Click to collapse
Seems to help. But still inconsistent.

Screen timeout issue

My screen always cuts off after being idle for around 10-15 seconds. It doesn't matter what I set the timeout to, it cuts off if I don't touch the screen for 10 seconds, even when I'm moving the phone around! The only fix I found was to enable caffeine, which is annoying when my screen accidentally turns on and never shuts back off unless I manually turn it off (like when my phone is in my pocket or a bag and I don't notice the screen is on). Does anybody know what to do? I already tried resetting and that didn't work.

Categories

Resources