linuxdeploy
linuxdeploy copied to clipboard
When the device screen is off, it can only use LAN, ping anything else will fail
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?
My android version is 9
But I also found this issue in android 13
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.
#disable power savings from adb or terminal: dumpsys deviceidle disable