Open qbalsdon opened 3 years ago
The power mode (used for "turn screen off") is always restored to normal on exit, because the user may have change its state at any time (using Alt+o and Alt+Shift+o, or by pressing POWER directly on the device).
This cause unexpected behaviors if several instance of scrcpy are started for the same device, but I have no other solution.
This also impacts other features: several settings ("stay awake", "show touches"…) are captured on scrcpy start and restored on scrcpy exit, regardless of any other instance.
Would it be possible to give users the ability to modify a specific instance then? Like a process id in order to interact with it?
Environment
Describe the bug In one terminal Window, run
In a second terminal window, run
Expected behaviour:
Actual behaviour:
Terminal 1 output:
Terminal 2 output: