Searched refs:ac_paths (Results 1 – 1 of 1) sorted by relevance
20 ac_paths = []34 ac_paths.append(path)40 run(ac_paths, bat_paths)44 def run_ac(self, ac_paths, bat_paths): argument50 if not ac_paths:54 if not any([self._online(ac_path) for ac_path in ac_paths]):59 if any(self._is_discharging(bat_path, ac_paths)64 def run_bat(self, ac_paths, bat_paths): argument78 if all(not self._is_discharging(bat_path, ac_paths) for bat_path82 if any(self._online(ac_path) for ac_path in ac_paths):[all …]