How to simulate low battery in Android devices

后端 未结 6 1932
独厮守ぢ
独厮守ぢ 2021-01-11 09:37

Can anyone tell me how can I simulate low battery in my rooted device?

I gone through this question but did not find much information on this.

6条回答
  •  感情败类
    2021-01-11 10:06

    With the Android Emulator's Extended Controls, it's now possible to set the battery level with a GUI slider called "Charge Level."

    To access this, start the emulator. Then click the "..." at the bottom of the settings panel (which hovers to the right of the emulator).

    This opens the Extended Controls panel which contains a "Battery" menu item:

    The Charge Level slider goes from 0 to 100%. You can also simulate failed/overheated/etc physical battery, and being off the charger by adjusting the other drop down controls.

提交回复
热议问题