Searched refs:_power_status (Results 1 – 9 of 9) sorted by relevance
104 self._power_status = None119 self._power_status = power_status.get_status()122 if not self._power_status.battery:129 if not self._power_status.battery:138 self._power_status.on_ac())148 self._power_status.assert_battery_state(percent_initial_charge_min)230 self._power_status.refresh()247 if self._power_status.battery:248 self._ah_charge_start = self._power_status.battery.charge_now249 self._wh_energy_start = self._power_status.battery.energy[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():
47 _power_status = None variable in graphics_VideoRenderingPower59 self._power_status = power_status.get_status()90 if self._power_status.battery_path is None:94 power_status.SystemPower(self._power_status.battery_path))
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.energy_full_design
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)]
224 self._power_status = power_status.get_status()229 if self._power_status.on_ac():233 self._power_status.assert_battery_state(BATTERY_INITIAL_CHARGED_MIN)236 self._power_status.battery_path)]
51 _power_status = None variable in graphics_WebGLAquarium221 self._power_status = power_status.get_status()224 self._power_status.assert_battery_state(BATTERY_INITIAL_CHARGED_MIN)227 power_status.SystemPower(self._power_status.battery_path)
60 self._power_status = power_status.get_status()61 if not self._power_status.on_ac():