Searched refs:has_battery (Results 1 – 15 of 15) sorted by relevance
164 has_battery = power_info == 'battery'173 if not has_battery:176 elif has_battery:181 if has_battery:
20 if not power_utils.has_battery():
41 test_battery = power_utils.has_battery()
73 if self._host.has_battery():
87 if power_utils.has_battery():
17 if not power_utils.has_battery():
33 if not power_utils.has_battery():
71 if not self._client.has_battery():
34 if not self._client.has_battery():
2643 def has_battery(self): member in CrosHost3109 has_battery = True3113 has_battery = power_info == 'battery'3120 has_battery = self.has_battery()3122 if not has_battery:
378 if power_utils.has_battery():
173 def has_battery(): function
2198 if not power_utils.has_battery():
659 if (!packet.has_battery()) in TEST_F()
649 if (min_batt_level is not None) and self._client.has_battery():