xref: /aosp_15_r20/external/autotest/client/site_tests/power_Display/control.brightness (revision 9c5db1993ded3edbeafc8092d69fe5de2ee02df7)
1AUTHOR = "ChromeOS Team"
2NAME = "power_Display.brightness"
3PURPOSE = "Measure display power usage at each brightness."
4
5CRITERIA = "This test is a benchmark."
6TIME = "SHORT"
7TEST_CATEGORY = "Benchmark"
8TEST_CLASS = "power"
9TEST_TYPE = "client"
10PY_VERSION = 3
11
12DOC = """
13This test records power related statistics while displaying different static
14pages with each of ChromeOS's 16 brightness levels.
15"""
16
17BRIGHTNESS_PAGES = ['white', 'black', 'checker1']
18
19args_dict = utils.args_to_dict(args)
20pdash_note = args_dict.get('pdash_note', '')
21job.run_test('power_Display', brightness='all', tag=NAME.split('.')[1],
22             pages=BRIGHTNESS_PAGES, secs_per_page=20, seconds_period=1,
23             pdash_note=pdash_note)
24