# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. AUTHOR = "Chrome OS Team" NAME = "power_Backlight" PURPOSE = "Verify the backlight properties are correct." CRITERIA = """ Fail if any of the following occur: - the backlight cannot be adjusted through software calls - the backlight does not support at least 5 levels - turning down the backlight does not use less energy """ TIME = "MEDIUM" TEST_CATEGORY = "Functional" TEST_CLASS = "power" TEST_TYPE = "client" DOC = """ This test verifies that the following properties about the backlight: - The backlight can be adjusted in software using the /sys/class/backlight interface - The backlight must support at least five distinct levels. - As you turn up the backlight from 0% -> 25% -> 50% -> 75% -> 100%, each successive bump uses more energy than the previous level. """ job.run_test("power_Backlight")