Searched refs:totalConsumePower (Results 1 – 2 of 2) sorted by relevance
308 double totalConsumePower = 0.0; in processAndSortEntries() local310 totalConsumePower += batteryDiffEntry.mConsumePower; in processAndSortEntries()313 batteryDiffEntry.setTotalConsumePower(totalConsumePower); in processAndSortEntries()
181 public void setTotalConsumePower(double totalConsumePower) { in setTotalConsumePower() argument182 mTotalConsumePower = totalConsumePower; in setTotalConsumePower()183 mPercentage = totalConsumePower == 0 ? 0 : (mConsumePower / mTotalConsumePower) * 100.0; in setTotalConsumePower()