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

Display tun on, on right Mouse Button and Parameter --turn-screen-off #618

Closed
Bratmaxe1981 opened this issue Jun 24, 2019 · 2 comments
Closed

Comments

@Bratmaxe1981
Copy link

Hi.

thanks for adding the turn-screen-off parameter.
it works, but if the screen get to sleep, I have to klick on the right mouse button du activate it again.
But if I do this, the screen on the phone also wake up.
Is it possible to send the the go to sleep command every time the screen turn on (or every 15 Secondes / every minute) and the USB cabel is connected and the parameter ist active?
If you deaktivate the Power button it may happen, that you get locked out of your own phone.

Thanks

@rom1v
Copy link
Collaborator

rom1v commented Jun 24, 2019

it works, but if the screen get to sleep, I have to klick on the right mouse button du activate it again.
But if I do this, the screen on the phone also wake up.

Yes, this is the Android behavior: #175 (comment).

Is it possible to send the the go to sleep command every time the screen turn on (or every 15 Secondes / every minute) and the USB cabel is connected and the parameter ist active?

Too hacky. --turn-screen-off is just an option to turn it off on start. If you execute actions to turn it on (like the power button), you can stlil turn it off again using Ctrl+o.

@Bratmaxe1981
Copy link
Author

okay thanks, I'll use the CTRL+o funktion..

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

No branches or pull requests

2 participants