Exported utility functions for RTC and system sleep
Converted the suspend and RTC functions from module methods
in bin/base_utils.py to separate modules in common_lib/ which
have no cross dependencies. The downside to this apprach is
that we don't use utils.run() to call powerd_supspend, which
loses us a little logging. This will allow otherse to use
these modules in non-autotest-embedded test scripts.
BUG=none
TEST=rerun power_Resume test using run_remote_tests, manually grep
for all moved function names in the rest of the autotest source tree.
Review URL: http://codereview.chromium.org/3516004
4 files changed