I do a lot of development on my laptop, and I use various Android Emulators to do it. When running, the emulator frequently takes up a large amount of my CPU, and consequently decreases my laptop's battery life significantly.
Is there a way to temporarily pause the emulator, or at least shut down whatever it is that's consuming all the unnecessary cpu?
I know that with sdk r9 and later I can snapshot the emulator and quit/restart it fairly quickly, but I'm hoping for something even less invasive to my work flow than that.
To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data.
If you're unexpectedly interrupted in the middle of a workout, don't worry! Just hit the pause button on your Android phone to pause the workout.
By pressing F7 you can emulate sleep mode in your emulator.
In Linux you can stop the process by
$ killall --signal STOP emulator
or
$ killall --signal STOP emulator64-arm
At a later time continue by
$ killall --signal CONT emulator
or
$ killall --signal CONT emulator64-arm
Gotcha: If you update Eclipse, make sure the emulator is not stopped when restarting eclipse. Eclipse will stall when loading, waiting for the stopped emulator to continue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With