Home | History | Annotate | Download | only in power_BacklightSuspend
      1 # Copyright (c) 2016 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = "Chrome OS Team"
      6 NAME = "power_BacklightSuspend.suspend_to_idle"
      7 PURPOSE = "Test the backlight's resume brightness feature."
      8 CRITERIA = "This test is a benchmark."
      9 TIME = "FAST"
     10 TEST_CATEGORY = "Functional"
     11 TEST_CLASS = "power"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 This test requests a brightness level to be set after resume.  It then triggers
     16 a suspend/resume and checks that the brightness has indeed been set to the
     17 requested level.
     18 """
     19 
     20 job.run_test('power_BacklightSuspend', suspend_state='freeze')
     21 
     22