Searched refs:dischargeAmount (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageAdvanced.java | 90 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()
|
D | PowerUsageSummary.java | 556 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()
|
D | BatteryUtils.java | 247 double hiddenPowerMah, int dischargeAmount) { in calculateBatteryPercent() argument 252 return (powerUsageMah / (totalPowerMah - hiddenPowerMah)) * dischargeAmount; in calculateBatteryPercent()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 756 final int dischargeAmount = mBatteryHelper.getStats().getDischargeAmount( in updateBattery() local 763 dischargeAmount); in updateBattery()
|