Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageAdvanced.java92 final double totalPower = mStatsHelper.getTotalPower();
99 updateUsageDataSummary(usageData, totalPower, dischargeAmount);
289 final double totalPower = statusHelper.getTotalPower(); in parsePowerUsageData() local
293 totalPower, hiddenPower, dischargeAmount); in parsePowerUsageData()
294 updateUsageDataSummary(usageData, totalPower, dischargeAmount); in parsePowerUsageData()
315 void updateUsageDataSummary(PowerUsageData usageData, double totalPower, int dischargeAmount) { in updateUsageDataSummary() argument
328 final double percentage = (sipper.totalPowerMah / totalPower) * dischargeAmount; in updateUsageDataSummary()
420 public PowerUsageData(@UsageType int usageType, double totalPower) { in PowerUsageData() argument
425 totalPowerMah = totalPower; in PowerUsageData()
DPowerUsageSummary.java572 double totalPower = USE_FAKE_DATA ? 4000 : mStatsHelper.getTotalPower(); in refreshAppListGroup() local
575 sipper.totalPowerMah, totalPower, hiddenPowerMah, dischargeAmount); in refreshAppListGroup()
703 final double totalPower = mStatsHelper.getTotalPower(); in calculatePercentage() local
704 return totalPower == 0 ? 0 : in calculatePercentage()
705 ((powerUsage / totalPower) * dischargeAmount); in calculatePercentage()