Home
last modified time | relevance | path

Searched refs:dischargeAmount (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageAdvanced.java90 final int dischargeAmount = mStatsHelper.getStats().getDischargeAmount(
99 updateUsageDataSummary(usageData, totalPower, dischargeAmount);
288 final int dischargeAmount = statusHelper.getStats().getDischargeAmount(STATUS_TYPE); 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()
DPowerUsageSummary.java556 final int dischargeAmount = USE_FAKE_DATA ? 5000 in refreshAppListGroup() local
575 sipper.totalPowerMah, totalPower, hiddenPowerMah, dischargeAmount); in refreshAppListGroup()
702 double calculatePercentage(double powerUsage, double dischargeAmount) { in calculatePercentage() argument
705 ((powerUsage / totalPower) * dischargeAmount); in calculatePercentage()
DBatteryUtils.java247 double hiddenPowerMah, int dischargeAmount) { in calculateBatteryPercent() argument
252 return (powerUsageMah / (totalPowerMah - hiddenPowerMah)) * dischargeAmount; in calculateBatteryPercent()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java756 final int dischargeAmount = mBatteryHelper.getStats().getDischargeAmount( in updateBattery() local
763 dischargeAmount); in updateBattery()