7257208c2acaa5f4e7d37808ddadc60835f91a12 |
|
11-Feb-2015 |
Shawn Nematbakhsh <shawnn@chromium.org> |
power_status: Fix on_ac for systems with multiple charge ports on_ac previously checked the online status of a single charge port. Instead, check the status of all charge ports when determining if AC is present. Also, clean-up misc. test to call on_ac() rather than checking linepower[0] directly. BUG=chrome-os-partner:36639 TEST=Manual on Samus. Verify that AC status is correctly detected by power_BatteryCharge and power_Status tests on both charge ports. Note: pylint fails with an unrelated error, see chromium:452983. Change-Id: I17d694ca68993b9d0fc4e3c133aab025f44f6387 Reviewed-on: https://chromium-review.googlesource.com/248820 Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Dan Erat <derat@chromium.org> Commit-Queue: Shawn N <shawnn@chromium.org>
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
04be2bd5e4666a5c253e9c30ab20555e04286032 |
|
08-May-2014 |
Ilja H. Friedel <ihf@chromium.org> |
Autotest: Change logging.warn() to logging.warning(). logging.warn() is deprecated. See http://bugs.python.org/issue13235 Substitution was performed via ~/cros/src/third_party/autotest/files$ find ./ -type f | xargs sed -i 's/logging.warn(/logging.warning(/' BUG=None. TEST=There should be one-- and preferably only one --obvious way to do it. Change-Id: Ie5665743121a49f7fbd5d1f47896a7c65e87e489 Reviewed-on: https://chromium-review.googlesource.com/198793 Commit-Queue: Ilja Friedel <ihf@chromium.org> Tested-by: Ilja Friedel <ihf@chromium.org> Reviewed-by: Alex Miller <milleral@chromium.org>
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
be3c3e70c41e5e28a88dad5b7062dd9baf6af091 |
|
24-Sep-2013 |
Todd Broch <tbroch@chromium.org> |
Enhance temperature capture capabilities. This CL aims to increase visibility into temperature readings on CrOS devices by: 1. Having SysStat object sample ACPI & hwmon temperatures. Note, these may actually be the same sensor in some cases. 2. Create TempLogger object to sample temperatures in parallel. This new functionality is enumerated in power_Status as a simple example of the functionality. I also cleaned up some pylint failures in power_status.py BUG=chrome-os-partner:22776 TEST=run power_Status, power_Idle, power_Draw & power_LoadTest on Spring. See temp result ... for example on power_Status: 1. Both ACPI & hwmon temps from SysStat 11:09:34 INFO | Temperature reading: g781_temp1_input:36000 \ g781_temp2_input:35625 exynos-therm_temp1_input:45000 temp:45000 2a. See TempLogger keyvals captured, 11:09:40 INFO | exynos-therm-t1_duration: 3.04606986046 11:09:40 INFO | exynos-therm-t1_temp: 44.5 11:09:40 INFO | exynos-therm-t1_temp_cnt: 2 11:09:40 INFO | exynos-therm-t1_temp_max: 45.0 11:09:40 INFO | exynos-therm-t1_temp_min: 44.0 11:09:40 INFO | exynos-therm-t1_temp_std: 0.5 2b. See output files in resultdir, ls -l /usr/local//autotest/results/default/power_Status/results/ -rw-r--r-- 1 root root 50 Sep 24 11:09 power_results_1380046180.txt -rw-r--r-- 1 root root 173 Sep 24 11:09 temp_results_1380046180.txt Change-Id: I80d85d9d9b85b8e4277f5eefa4ff44873bb4f089 Reviewed-on: https://chromium-review.googlesource.com/170349 Tested-by: Todd Broch <tbroch@chromium.org> Reviewed-by: Sameer Nanda <snanda@chromium.org> Commit-Queue: Todd Broch <tbroch@chromium.org>
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
fd382770a9cb8cb96a53a6dec73994549d13cf14 |
|
21-Apr-2011 |
Simon Que <sque@chromium.org> |
power tests: stop/start powerd to avoid interference Some of the power tests should not be run with powerd running. powerd can change the brightness without these tests knowing, and that can skew test results. This patch stops powerd before running the tests, and starts them again after, if they were running before. The tests modified: - power_Draw - power_Idle - hardware_Backlight (already has it, but modified import command) BUG=chromium-os:14107 TEST=Run these tests with powerd running. During the test, type "status powerd" in the console and it should be stopped. After the test, type "status powerd" and it should be running again. Also, tests should pass. Change-Id: I47164ba331b678aba18eb95113fbc97fcf6adb1f Signed-off-by: Simon Que <sque@chromium.org> Review URL: http://codereview.chromium.org/6883092
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
d8e41b7356a3067b7b7561f3a8fe8f12ff2731d6 |
|
08-Apr-2011 |
Simon Que <sque@chromium.org> |
power_Draw/Idle/LoadTest: Support temperature sensing for x86 Added power_status class to read thermal data (temperature and fans). Currently only supported for x86. Tests updated to use it: - power_Draw - power_Idle - power_LoadTest BUG=chromium-os:13866 TEST=Run these three tests on both x86 and ARM, with reduced time settings if necessary. They should pass on both. Check max_temp and min_temp in the test results. They should be properly defined on x86 (something realistic) and undefined on ARM (two absurdly large-magnitude numbers). Signed-off-by: Simon Que <sque@chromium.org> Change-Id: Ib098ead4d6de2f87e1a97a646a64a86ed0e11bf8 Review URL: http://codereview.chromium.org/6800002
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
bee23c2b0ca824c12c39e7a5a4cd4d2a313918b7 |
|
18-Mar-2011 |
Eric Li <ericli@chromium.org> |
Refactor site_power_status, power_strip modules into client/cros. This is a re-submit of http://codereview.chromium.org/6627029 Change-Id: Id4de27435b06c81cc4ea087f175edc0f428fd81a BUG=chromiumos:12633 TEST=grep the entire autotest repo and find out all source code which has site_power_status and power_strip and changed them. Review URL: http://codereview.chromium.org/6710010
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
41c65b13a1b67e64f0e1a5457dd3bf6b099e0514 |
|
06-Mar-2011 |
Benson Leung <bleung@chromium.org> |
Revert "Refactor site_power_status, power_strip modules into client/cros." This reverts commit 7043cc1c9a93eec5b4aa4b00dd5efb4881c58322. TBR=ericli@chromium.org Change-Id: Id24616e1b680361020e58a8f417ff3b1909323b1
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
7043cc1c9a93eec5b4aa4b00dd5efb4881c58322 |
|
05-Mar-2011 |
Eric Li <ericli@chromium.org> |
Refactor site_power_status, power_strip modules into client/cros. Change-Id: Id9ab9ae36bde45d00992179ee66ac4888a5e2323 BUG=chromium-os:12633 TEST=grep the entire autotest repo and find out all source code which has site_power_status and power_strip and changed them. Review URL: http://codereview.chromium.org/6627029
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|
36f1a65e6eb9ab85144d0e917380d2c695e14fe8 |
|
19-Mar-2010 |
Ken Mixter <kmixter@google.com> |
Rename autotests to be consistent with tracker areas Review URL: http://codereview.chromium.org/1105001
/external/autotest/client/site_tests/power_Draw/power_Draw.py
|