Searched refs:batteryCapacityMah (Results 1 – 2 of 2) sorted by relevance
41 int batteryCapacityMah = batteryStats.getLearnedBatteryCapacity() / 1000; in calculate() local42 if (batteryCapacityMah <= 0) { in calculate()43 batteryCapacityMah = batteryStats.getMinLearnedBatteryCapacity() / 1000; in calculate()44 if (batteryCapacityMah <= 0) { in calculate()45 batteryCapacityMah = batteryStats.getEstimatedBatteryCapacity(); in calculate()48 builder.setBatteryCapacity(batteryCapacityMah); in calculate()51 batteryStats.getLowDischargeAmountSinceCharge() * batteryCapacityMah / 100.0; in calculate()53 batteryStats.getHighDischargeAmountSinceCharge() * batteryCapacityMah / 100.0; in calculate()
883 public Builder setBatteryCapacity(double batteryCapacityMah) { in setBatteryCapacity() argument884 mBatteryCapacityMah = batteryCapacityMah; in setBatteryCapacity()