Home
last modified time | relevance | path

Searched refs:usageData (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageAdvanced.java96 PowerUsageData usageData = mBatteryDataMap.get(usageType);
98 if (pref != null && usageData != null) {
99 updateUsageDataSummary(usageData, totalPower, dischargeAmount);
100 pref.setSummary(usageData.summary);
275 final PowerUsageData usageData = batteryDataMap.get(extractUsageType(sipper)); in parsePowerUsageData() local
276 usageData.totalPowerMah += sipper.totalPowerMah; in parsePowerUsageData()
281 usageData.totalUsageTimeMs += sipper.usageTimeMs; in parsePowerUsageData()
283 usageData.usageList.add(sipper); in parsePowerUsageData()
291 for (final PowerUsageData usageData : batteryDataList) { in parsePowerUsageData()
292 usageData.percentage = mBatteryUtils.calculateBatteryPercent(usageData.totalPowerMah, in parsePowerUsageData()
[all …]