-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Add posibilty to keep screen off after disconection #1764
Comments
If I correctly understand your request, it is fixed by #1670 on You could try with Please confirm that it fixes your problem. |
I look that fix and its doesnt work for what i need , the fix keeps the screen (physical) off if the screen (virtual/streamed/dont know how to call it) is already off before disconection . something like this (more complex as client also has to be modified to pass flags)
|
Oh, this was a side-effect considered as a bug. Out of curiosity, why do you need this? Relevant xkcd: |
I cannot argue with xkcd statements its so true jajaja I have and old tablet that use for playing games (has autofarm) and i control it remotly from PC from time to time, so turn screen off (permanently) is very usefull for batery saving and screen use . |
Hi, its been a long time but as stated above this issue will not be implemented again . |
Unfortunately, no. You need to call some Android private API (in Java) like scrcpy does. |
I finally implemented an option not to cleanup: #3020. |
On version 1.15 was added that after disconection with option -S (--turn-screen-off) the screen will turn on again , but as for many this was annoying for me was a very usefull feature , so ¿can an extra option be added so that it turn screen off and dont turn on after disconection?
on code seems quite posible as for now its hardcoded to always turn it on again (true)
CleanUp.configure(mustDisableShowTouchesOnCleanUp, restoreStayOn, true);
The text was updated successfully, but these errors were encountered: