Skip to content

Display and control your Android device

Do not power on if no video

Romain Vimontd067a11478e5
diff --git a/app/src/cli.c b/app/src/cli.c
index c580c959..f7d7e390 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -2398,6 +2398,8 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
if (!opts->video) {
opts->video_playback = false;
+ // Do not power on the device on start if video capture is disabled
+ opts->power_on = false;
}
if (!opts->audio) {