1# Copyright (c) 2018 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 5AUTHOR = "Chrome OS Team" 6NAME = "power_Idle.fast" 7PURPOSE = "Measure power usage when system is idle." 8CRITERIA = "This test is a benchmark." 9TIME = "SHORT" 10TEST_CATEGORY = "Benchmark" 11TEST_CLASS = "power" 12TEST_TYPE = "client" 13 14DOC = """ 15This test records power related statistics while the system is idling. 16 17 Current tests, 18 19 | test# | seconds | display | bluetooth | 20 ------------------------------------------- 21 | 1 | 10 | off | off | 22 | 2 | 10 | default | off | 23 | 3 | 10 | default | on - idle | 24 | 4 | 10 | off | on - idle | 25""" 26 27args_dict = utils.args_to_dict(args) 28pdash_note = args_dict.get('pdash_note', '') 29job.run_test('power_Idle', warmup_secs=2, idle_secs=10, seconds_period=1, 30 pdash_note=pdash_note, tag=NAME.split('.')[1]) 31