blob: 4a1e01e67e97b0abdf6e345971b768355039c983 [file] [log] [blame]
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
AUTHOR = "puthik"
NAME = "power_Idle.default_20min"
PURPOSE = "Measure power usage when system is idle."
CRITERIA = "This test is a benchmark."
TIME = "LONG"
TEST_CATEGORY = "Benchmark"
TEST_CLASS = "power"
TEST_TYPE = "client"
DOC = """
This test records power related statistics while the system is idling.
This version tests only the default state of the DUT for 20 minutes to make
it easier for HW Eng to manually measure power with other hardware.
"""
args_dict = utils.args_to_dict(args)
pdash_note = args_dict.get('pdash_note', '')
job.run_test('power_Idle', pdash_note=pdash_note, tag=NAME.split('.')[1],
default_only=True, force_discharge='optional', idle_secs=1200)