Searched refs:dischargeAmount (Results 1 – 2 of 2) sorted by relevance
75 final int dischargeAmount = mBatteryUsageStats.getDischargePercentage(); in detect() local84 consumer.getConsumedPower(), totalPower, dischargeAmount); in detect()
236 int dischargeAmount) { in calculateBatteryPercent() argument241 return (powerUsageMah / totalPowerMah) * dischargeAmount; in calculateBatteryPercent()