Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/power_Standby/
Dpower_Standby.py30 power_stats = power_status.get_status()
31 power_stats.assert_battery_state(percent_initial_charge_min)
32 charge_start = power_stats.battery[0].charge_now
33 voltage_start = power_stats.battery[0].voltage_now
43 charge_before = power_stats.battery[0].charge_now
48 power_stats.refresh()
49 if power_stats.percent_current_charge() < self._percent_min_charge:
65 charge_used = charge_before - power_stats.battery[0].charge_now
71 charge_end = power_stats.battery[0].charge_now
72 voltage_end = power_stats.battery[0].voltage_now
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dsysfs_power_monitor.py209 def CombineResults(cpu_stats, power_stats): argument
220 return power_stats
221 if 'component_utilization' not in power_stats:
222 power_stats['component_utilization'] = {}
224 if 'platform_info' not in power_stats:
225 power_stats['platform_info'] = {}
226 power_stats['platform_info'].update(cpu_stats['platform_info'])
229 power_stats['component_utilization'][cpu] = cpu_stats[cpu]
230 return power_stats
Dcros_power_monitor.py48 power_stats = {}
54 power_stats = CrosPowerMonitor.ParsePower(self._initial_power,
59 return CrosPowerMonitor.CombineResults(cpu_stats, power_stats)