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