0

I am connecting to my Android phone with ADB WiFi (no USB plugged in). However, whenever my device goes to sleep, I am losing connection and unable to reconnect.

In what I am trying to do, I need to have the screen off. And this is why I am using wake lock to keep CPU awake while device is idling. However, even with wake lock and wifi lock, I am still having the same problem.

Does anyone know how can I connect to ADB over wifi in this situation? or connect while screen is off?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.