Skip to content

Display and control your Android device

Merge branch 'master' into dev

Romain Vimont31fa11565566
diff --cc README.md
index 0d0c4c5e,04b644a4..8a1f5523
--- a/README.md
+++ b/README.md
@@@ -395,18 -396,10 +395,22 @@@ The list of display ids can be retrieve
adb shell dumpsys display # search "mDisplayId=" in the output
```
+ The secondary display may only be controlled if the device runs at least Android
+ 10 (otherwise it is mirrored in read-only).
+
+
+#### Stay awake
+
+To prevent the device to sleep after some delay:
+
+```bash
+scrcpy --stay-awake
+scrcpy -w
+```
+
+The initial state is restored when scrcpy is closed.
+
+
#### Turn screen off
It is possible to turn the device screen off while mirroring on start with a