Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
103.03k stars 10.01k forks source link

Requires the ability to pause streaming #4893

Open NDS7EN opened 2 weeks ago

NDS7EN commented 2 weeks ago

Use Ctrl+O to turn off the device screen and still mirror the phone screen on the computer

When the screen is off, the phone can run in the background. But after exiting the mirroring mode, the device screen brightens immediately

Is there a way to turn off the phone screen after passing CTRL+O and continue to run the background script without lighting up the device screen after exiting mirror mode.

Or when you connect to your computer, add a command to pause the transfer of your device's screen, reduce the load on your device to save energy, and run your phone in the background with the screen off

Purpose: Run an automated click script through ADB to make the device run in the background. Turn off the device screen with CTRL+O to reduce heat generation. Use the shortcut key to pause the transmission of device images to stop the resource occupation caused by decoding... to efficiently run equipment foreground tasks

NDS7EN commented 2 weeks ago

no- video does not work. I used scrcpy -m 200 --max-fps=1 to limit the device transmission to reduce the performance consumption of transmission.

NDS7EN commented 2 weeks ago

Currently working fine. My device is cooling down significantly

rom1v commented 2 weeks ago

scrcpy --no-cleanup will not restore the display power mode on exit.

NDS7EN commented 2 weeks ago

scrcpy --no-cleanup will not restore the display power mode on exit.

thanks