Home
last modified time | relevance | path

Searched refs:totalConsumePower (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffData.java308 double totalConsumePower = 0.0; in processAndSortEntries() local
310 totalConsumePower += batteryDiffEntry.mConsumePower; in processAndSortEntries()
313 batteryDiffEntry.setTotalConsumePower(totalConsumePower); in processAndSortEntries()
DBatteryDiffEntry.java181 public void setTotalConsumePower(double totalConsumePower) { in setTotalConsumePower() argument
182 mTotalConsumePower = totalConsumePower; in setTotalConsumePower()
183 mPercentage = totalConsumePower == 0 ? 0 : (mConsumePower / mTotalConsumePower) * 100.0; in setTotalConsumePower()