修改framwork/base/core/res/res/xml/power_profile.xml中的 <item name="battery.capacity">1000</item>此处1000即可。 将该值改为实际容量值