Searched refs:calculateBatteryPercent (Results 1 – 6 of 6) sorted by relevance
83 final double percent = mBatteryUtils.calculateBatteryPercent( in detect()
222 final double percentOfTotal = mBatteryUtils.calculateBatteryPercent( in refreshAppListGroup()279 final double percentOfTotal = mBatteryUtils.calculateBatteryPercent( in getBatteryEntryList()
235 public double calculateBatteryPercent(double powerUsageMah, double totalPowerMah, in calculateBatteryPercent() method in BatteryUtils
147 doReturn(BATTERY_LEVEL).when(mBatteryUtils).calculateBatteryPercent(anyDouble(), in updateBattery_hasBatteryStats_summaryPercent()
274 final int percentOfMax = (int) mBatteryUtils.calculateBatteryPercent(
256 assertThat(mBatteryUtils.calculateBatteryPercent(BATTERY_SYSTEM_USAGE, TOTAL_BATTERY_USAGE, in testCalculateBatteryPercent()