linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

When the device screen is off, it can only use LAN, ping anything else will fail

Open yingshaoxo opened this issue 1 year ago • 3 comments

For example, when screen off, ping bing.com will fail.

But I have root permission in both android and linux, why this will ever happen.

Can we solve this problem?

yingshaoxo avatar Sep 14 '23 11:09 yingshaoxo

My android version is 9

But I also found this issue in android 13

yingshaoxo avatar Sep 14 '23 12:09 yingshaoxo

I temporarily solved this problem by using fakestandby apk:

https://github.com/JonasBernard/FakeStandby/releases/tag/v1.4.0

It will turn off the screen by using a black picture as background, so the screen will never be really turned off, and the network will always on.

yingshaoxo avatar Sep 14 '23 12:09 yingshaoxo

#disable power savings from adb or terminal: dumpsys deviceidle disable

extraric avatar May 07 '24 20:05 extraric