• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AUTHOR = "Chrome OS Team"
2NAME = "power_Display.cabc_max_brightness"
3PURPOSE = "Measure display power usage."
4CRITERIA = "This test is a benchmark."
5TIME = "SHORT"
6TEST_CATEGORY = "Benchmark"
7TEST_CLASS = "power"
8TEST_TYPE = "client"
9
10DOC = """
11This test records power related statistics while displaying different static
12pages using settings that usually utilize panel CABC algorithm under max
13brightness.
14"""
15
16CABC_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
29args_dict = utils.args_to_dict(args)
30pdash_note = args_dict.get('pdash_note', '')
31job.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