Change emulator battery level in Windows

后端 未结 3 1232
灰色年华
灰色年华 2020-12-21 00:21

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.

3条回答
  •  猫巷女王i
    2020-12-21 00:52

    If you are using a remote emulator, like android x86 you can use the following:

    adb connect

    adb shell dumpsys battery set level 90

提交回复
热议问题