rrathi/adamICS — Issue #29: Battery usage data not available
Author: nathanwebb
Created: 2012-01-21 09:02:40+00:00
State: open

In settings, battery, the usage data is not available and displays a message in the header saying, "Battery usage data not available". From my limited knowledge of this, it's probably caused by power_profile.xml in framework_res.apk not being populated with real values. I've found a reference to it in old code in

/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageSummary.java

as:

if (mPowerProfile.getAveragePower(PowerProfile.POWER_SCREEN_FULL) < 10) {
addNotAvailableMessage();
return;
}

which relies on the Power Profile settings found in power_profile.xml