Home
last modified time | relevance | path

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

/external/autotest/server/site_tests/power_ChargeStatus/
Dpower_ChargeStatus.py39 ac_state = self.get_ac_status(host)
41 self.test_charge_state(ac_state, bat_state)
43 ac_state = self.get_ac_status(host)
45 self.test_discharge_state(ac_state, bat_state)
49 def test_charge_state(self, ac_state, bat_state): argument
57 if not (ac_state == "yes" and (bat_state == "Charging"
63 def test_discharge_state(self, ac_state, bat_state): argument
71 if not (ac_state == "no" and bat_state == "Discharging"):