📜  android studio 模拟器保持清醒 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:52.889000             🧑  作者: Mango

代码示例1
1. I have this problem because I changed the Charger Connection 
to none under the Battery menu of the emulator. 
Turning it back to AC Charger stopped the screen being turned off. 

2. In your emulator go to Settings ->  Display -> Sleep, 
change to 30 minutes.