Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to stop android emulator from automatically turning off

I am using the SDK provided from the android developers website. My android emulator seems to turn off automatically after some period of inactivity. I need to press the power hardware button provided next to the emulator screen to be able to run applications again. The problem is that I don't know what enabled this feature. This doesn't happen in the other computers where I have installed the SDK. The only difference in this computer's installation is that I had updated the SDK to include Android 4.3 APIs.

How do I stop the emulator from automatically turning off?

---EDIT---
Create new AVD screen in the SDK
enter image description here

like image 778
user13267 Avatar asked Aug 01 '13 09:08

user13267


2 Answers

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. enter image description here

like image 188
Lavish Garg Avatar answered Sep 30 '22 23:09

Lavish Garg


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

like image 21
Samuel Surya Avatar answered Sep 30 '22 23:09

Samuel Surya