1# Copyright (c) 2020 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 = "puthik" 6NAME = "power_Idle.default" 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:crosbolt_perf_perbuild" 14PY_VERSION = 3 15 16DOC = """ 17This test records power related statistics while the system is idling. 18 19This version tests only the default state of the DUT for 2 minutes. 20""" 21 22args_dict = utils.args_to_dict(args) 23pdash_note = args_dict.get('pdash_note', '') 24job.run_test('power_Idle', pdash_note=pdash_note, tag=NAME.split('.')[1], 25 default_only=True, force_discharge='optional') 26