1 AUTHOR = "Chrome OS Team" 2 NAME = "power_Display.cabc" 3 PURPOSE = "Measure display power usage." 4 CRITERIA = "This test is a benchmark." 5 TIME = "SHORT" 6 TEST_CATEGORY = "Benchmark" 7 TEST_CLASS = "power" 8 TEST_TYPE = "client" 9 10 DOC = """ 11 This test records power related statistics while displaying different static 12 pages using settings that usually utilize panel CABC algorithm. 13 """ 14 15 CABC_PAGES = ['white', 'black', 16 'white', 'grey10', 17 'white', 'grey20', 18 'white', 'grey30', 19 'white', 'grey40', 20 'white', 'grey50', 21 'white', 'checker1', 22 'white', 'checker90', 23 'white', 'checker80', 24 'white', 'checker70', 25 'white', 'checker60', 26 'white', 'checker50'] 27 28 args_dict = utils.args_to_dict(args) 29 pdash_note = args_dict.get('pdash_note', '') 30 job.run_test('power_Display', tag=NAME.split('.')[1], pages=CABC_PAGES, 31 secs_per_page=20, seconds_period=1, pdash_note=pdash_note) 32