1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 AUTHOR = "Chrome OS Team" 6 NAME = "power_Idle" 7 PURPOSE = "Measure power usage when system is idle." 8 CRITERIA = "This test is a benchmark." 9 TIME = "SHORT" 10 TEST_CATEGORY = "Benchmark" 11 TEST_CLASS = "power" 12 TEST_TYPE = "client" 13 ATTRIBUTES = "suite:bvt-perbuild, suite:power_idle, suite:power_sanity" 14 15 DOC = """ 16 This test records power related statistics while the system is idling. 17 18 Current tests, 19 20 | test# | seconds | display | bluetooth | 21 ------------------------------------------- 22 | 1 | 120 | off | off | 23 | 2 | 120 | default | off | 24 | 3 | 120 | default | on - idle | 25 | 4 | 120 | off | on - idle | 26 """ 27 28 args_dict = utils.args_to_dict(args) 29 pdash_note = args_dict.get('pdash_note', '') 30 job.run_test('power_Idle', pdash_note=pdash_note) 31