How can I change the battery level (from 50% to 70% and not charging) on emulator in Windows OS? There are some guides, but all of them are for Ubuntu.
I'm using Google's Android emulator with Android Studio on a Windows 10 machine. It is really easy to change the battery status or battery charged level from UI of the emulator. Only catch is that the settings are not present on the main tool bar but it is hidden. Here is how to reach it:
Click on three dots at the bottom of the tool bar to open extended controls window:
On the extended controls window, click battery in left navigation bar and whoa! You've got every setting related to battery of the emulator in right pane:
Battery status field is a drop down list with below values:
You can set it to any value of your choice while debugging your app.