1AUTHOR = "ChromeOS Team" 2NAME = "power_Display.cabc" 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. 15""" 16 17CABC_PAGES = ['white', 'black', 18 'white', 'grey10', 19 'white', 'grey20', 20 'white', 'grey30', 21 'white', 'grey40', 22 'white', 'grey50', 23 'white', 'checker1', 24 'white', 'checker90', 25 'white', 'checker80', 26 'white', 'checker70', 27 'white', 'checker60', 28 'white', 'checker50'] 29 30args_dict = utils.args_to_dict(args) 31pdash_note = args_dict.get('pdash_note', '') 32job.run_test('power_Display', tag=NAME.split('.')[1], pages=CABC_PAGES, 33 secs_per_page=20, seconds_period=1, pdash_note=pdash_note) 34