1 AUTHOR = "Chrome OS Team" 2 NAME = "power_Display.brightness" 3 PURPOSE = "Measure display power usage at each brightness." 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 with each of Chrome OS's 16 brightness levels. 13 """ 14 15 BRIGHTNESS_PAGES = ['white', 'black', 'checker1'] 16 17 args_dict = utils.args_to_dict(args) 18 pdash_note = args_dict.get('pdash_note', '') 19 job.run_test('power_Display', brightness='all', tag=NAME.split('.')[1], 20 pages=BRIGHTNESS_PAGES, secs_per_page=20, seconds_period=1, 21 pdash_note=pdash_note) 22