HomeSort by relevance Sort by last modified time
    Searched refs:bat_state (Results 1 - 3 of 3) sorted by null

  /external/autotest/server/site_tests/power_ChargeStatus/
power_ChargeStatus.py 40 bat_state = self.get_bat_status(host)
41 self.test_charge_state(ac_state, bat_state)
44 bat_state = self.get_bat_status(host)
45 self.test_discharge_state(ac_state, bat_state)
49 def test_charge_state(self, ac_state, bat_state):
54 @param bat_state Specifies the power_supply_info "Battery"
57 if not (ac_state == "yes" and (bat_state == "Charging"
58 or bat_state == "Fully charged")):
60 % bat_state)
63 def test_discharge_state(self, ac_state, bat_state)
    [all...]
  /external/autotest/server/site_tests/power_BatteryStateOnResume/
power_BatteryStateOnResume.py 97 bat_state = self.get_bat_status(host)
98 if not (bat_state == 'Charging' or bat_state == 'Fully charged'):
99 raise error.TestFail('Not Charging. BAT state is %s.' % bat_state)
104 bat_state = self.get_bat_status(host)
105 if not bat_state == 'Discharging':
107 'Not Discharging. BAT state is %s.' % bat_state)
  /external/autotest/server/site_tests/platform_PowerStatusStress/
platform_PowerStatusStress.py 93 bat_state = _CHARGING if powered_on else _DISCHARGING,
94 logging.info('Switching status to %s ', bat_state)
115 raise error.TestFail('Bad %s state!' % bat_state)

Completed in 79 milliseconds