Open PallavRastogi opened 3 years ago
There were some bugs related to power mode on some old ROMs: https://github.com/Genymobile/scrcpy/issues/175#issuecomment-497946596
I even disabled the feature to turn the screen on for a while: 8c8649cfcd710859ce18eab557ed2af8cedb9a42 Then reverted: dcde578a50ffb9d2594c4764a067e9dd328bf55c
so how to fix this bug?
It is probably a bug in your ROM...
Environment
Describe the bug
The device screen turns on for a moment when the command is run (shows home screen) then it continuously displays a black screen while remaining "turned on"/ I can control it just fine from my laptop. This issue was not present before, I was using scrcpy for around 2 weeks and it was working fine, but today suddenly this bug has arised The device's battery is weak so it is always connected to a power source. (I have ensured that "stay awake" is turned off in developer options)
No similar issue is there before using scrcpy, but once the commands are run, the display stays on showing black screen even after closing the scrcpy terminal. also, I have set display turn off in 15 seconds.