不能更改Android模拟器电池配置 [英] Can't change battery configuration in Android Emulator
问题描述
我想在我的模拟器更换电池地位容量和AC状态,但不工作。
I'm trying to change in my emulator the battery status as capacity and ac status but isn't working.
我使整个步骤:
1)连接到通过Telnet仿真器;结果
2)试图用命令,AC电源关闭,发电能力70结果
3)每次我检查了功耗显示,相同的配置出现,并没有改变我输入保存和模拟器总是显示与电池!
1) Connected to the emulator via telnet;
2) Tried to use the commands such power ac off and power capacity 70
3) Every time I checked the power display, the same configuration appears and no change I input is save, and the emulator always show the battery with a "!".
FR我看到在Windows 此链接更改仿真器电池电量,尝试它并没有什么解决的。
FR I saw this link Change emulator battery level in Windows, tried it and nothing resolved.
请按照有关电池我的数据:
Follow my data about the battery:
电量显示结果
AC:网上
状态:未在充电结果
健康:死亡结果
present:假的结果
容量:0
power display
AC: online
status: Not charging
health: Dead
present: false
capacity: 0
感谢您!
推荐答案
这似乎是你的模拟器设备已电池选项关闭。
It seems like your emulator device has battery option turned off.
-
的打开AVD配置文件:的
用于Linux / MAC的默认位置
Default location for Linux/MAC
~/.android/avd/<AVD name>.avd/config.ini
适用于Windows XP的默认位置
Default location for Windows XP
C:\Documents and Settings\<user>\.android\avd\<AVD name>.avd\config.ini
有关Windows Vista和更高版本的默认位置
Default location for Windows Vista and later
C:\Users\<user>\.android\avd\<AVD name>.avd\config.ini
的更改行:的
hw.battery=no
到
hw.battery=yes
这篇关于不能更改Android模拟器电池配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!