Searched refs:powerUsageMah (Results 1 – 2 of 2) sorted by relevance
266 public double calculateBatteryPercent(double powerUsageMah, double totalPowerMah, in calculateBatteryPercent() argument272 return (powerUsageMah / (totalPowerMah - hiddenPowerMah)) * dischargeAmount; in calculateBatteryPercent()
293 public double calculateBatteryPercent(double powerUsageMah, double totalPowerMah, in calculateBatteryPercent() argument299 return (powerUsageMah / (totalPowerMah - hiddenPowerMah)) * dischargeAmount; in calculateBatteryPercent()