Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yingshaoxo opened this issue Sep 14, 2023 · 3 comments

Comments

@yingshaoxo
Copy link

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
Copy link
Author

My android version is 9

But I also found this issue in android 13

@yingshaoxo
Copy link
Author

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.

@extraric
Copy link

extraric commented May 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants