xref: /aosp_15_r20/external/autotest/client/site_tests/power_Idle/control (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
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
5AUTHOR = "ChromeOS Team"
6NAME = "power_Idle"
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"
13ATTRIBUTES = ("suite:bvt-perbuild, suite:power_idle, suite:power_check, "
14              "suite:power_monitoring")
15PY_VERSION = 3
16
17DOC = """
18This test records power related statistics while the system is idling.
19
20    Current tests,
21
22      | test# | seconds | display   | bluetooth |
23      -------------------------------------------
24      | 1     | 120     | off       | off       |
25      | 2     | 120     | default   | off       |
26      | 3     | 120     | default   | on - idle |
27      | 4     | 120     | off       | on - idle |
28"""
29
30args_dict = utils.args_to_dict(args)
31pdash_note = args_dict.get('pdash_note', '')
32job.run_test('power_Idle', pdash_note=pdash_note)
33