Index: client/site_tests/power_Idle/power_Idle.py |
diff --git a/client/site_tests/power_Idle/power_Idle.py b/client/site_tests/power_Idle/power_Idle.py |
index d6aa688bb0a1e011105f0e583deb739e358c298a..c9396cce3e138e6b87279e666d5b8fbf798a06f7 100755 |
--- a/client/site_tests/power_Idle/power_Idle.py |
+++ b/client/site_tests/power_Idle/power_Idle.py |
@@ -3,8 +3,9 @@ |
# found in the LICENSE file. |
import time |
-from autotest_lib.client.common_lib import error, site_power_status, utils |
-from autotest_lib.client.cros import cros_ui_test |
+from autotest_lib.client.bin import utils |
+from autotest_lib.client.common_lib import error |
+from autotest_lib.client.cros import cros_ui_test, power_status |
class power_Idle(cros_ui_test.UITest): |
@@ -15,12 +16,12 @@ class power_Idle(cros_ui_test.UITest): |
def run_once(self, idle_time=120): |
- self.status = site_power_status.get_status() |
+ self.status = power_status.get_status() |
# initialize various interesting power related stats |
- self._usb_stats = site_power_status.USBSuspendStats() |
- self._cpufreq_stats = site_power_status.CPUFreqStats() |
- self._cpuidle_stats = site_power_status.CPUIdleStats() |
+ self._usb_stats = power_status.USBSuspendStats() |
+ self._cpufreq_stats = power_status.CPUFreqStats() |
+ self._cpuidle_stats = power_status.CPUIdleStats() |
time.sleep(idle_time) |