1AUTHOR = "ChromeOS Team" 2NAME = "power_Display.cabc_max_brightness" 3PURPOSE = "Measure display power usage." 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 using settings that usually utilize panel CABC algorithm under max 15brightness. 16""" 17 18CABC_PAGES = ['white', 'black', 19 'white', 'grey10', 20 'white', 'grey20', 21 'white', 'grey30', 22 'white', 'grey40', 23 'white', 'grey50', 24 'white', 'checker1', 25 'white', 'checker90', 26 'white', 'checker80', 27 'white', 'checker70', 28 'white', 'checker60', 29 'white', 'checker50'] 30 31args_dict = utils.args_to_dict(args) 32pdash_note = args_dict.get('pdash_note', '') 33job.run_test('power_Display', brightness='max', tag=NAME.split('.')[1], 34 pages=CABC_PAGES, secs_per_page=20, seconds_period=1, 35 pdash_note=pdash_note) 36