Searched refs:_power_status (Results 1 – 10 of 10) sorted by relevance
103 self._power_status = None125 self._power_status = power_status.get_status()126 self._tmp_keyvals['b_on_ac'] = self._power_status.on_ac()136 self._power_status.assert_battery_state(percent_initial_charge_min)222 self._power_status.refresh()239 if self._power_status.battery:240 self._ah_charge_start = self._power_status.battery[0].charge_now241 self._wh_energy_start = self._power_status.battery[0].energy259 if self._power_status.battery:261 [power_status.SystemPower(self._power_status.battery_path)][all …]
70 self._power_status = power_status.get_status()71 if not self._power_status.on_ac():73 self._power_status.assert_battery_state(self.PERCENT_CHARGE_MIN)82 return 'AC' if self._power_status.on_ac() else 'Battery'
35 self._power_status = power_status.get_status()36 if not self._power_status.on_ac():38 self._power_status.assert_battery_state(percent_initial_charge_min)58 if self._power_status.on_ac():
52 self._power_status = power_status.get_status()53 self._tmp_keyvals['b_on_ac'] = self._power_status.on_ac()58 self._power_status.assert_battery_state(30)469 if not self._power_status.on_ac():471 [power_status.SystemPower(self._power_status.battery_path)]507 self._power_status.refresh()508 on_ac = self._power_status.on_ac()513 whrs = self._power_status.battery[0].energy_full_design
112 self._power_status = power_status.get_status()119 if not self._power_status.battery:123 percent_initial_charge = self._power_status.percent_current_charge()131 self._power_status.battery_path)]
47 _power_status = None variable in graphics_VideoRenderingPower59 self._power_status = power_status.get_status()89 power_status.SystemPower(self._power_status.battery_path))
53 self._power_status = power_status.get_status()56 self._power_status.assert_battery_state(BATTERY_INITIAL_CHARGED_MIN)59 self._power_status.battery_path)]
225 self._power_status = power_status.get_status()230 if self._power_status.on_ac():234 self._power_status.assert_battery_state(BATTERY_INITIAL_CHARGED_MIN)237 self._power_status.battery_path)]
50 _power_status = None variable in graphics_WebGLAquarium220 self._power_status = power_status.get_status()223 self._power_status.assert_battery_state(BATTERY_INITIAL_CHARGED_MIN)226 power_status.SystemPower(self._power_status.battery_path)
60 self._power_status = power_status.get_status()61 if not self._power_status.on_ac():