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