brightness.lcd_backlight¶
Source code: brightness/lcd_backlight.py
This is a factory test to check the functionality of LCD backlight module.
Description¶
This is another version of backlight.
The goal is to share code between led, lcd_backlight, keyboard_backlight, and so on. However, users still use the backlight test.
Test Procedure¶
Enumerate levels and set brightness to each level.
Operators decide pass or fail.
Dependency¶
Device API
cros.factory.device.display.SetBacklightBrightness
.
Examples¶
An example:
{
"pytest_name": "brightness.lcd_backlight",
"label": "Brightness LCD Backlight",
"related_components": [
"test_tags.TestCategory.LCD"
],
"args": {
"levels": [
0.2,
0.4,
0.6,
0.8,
1.0
]
}
}
Test Arguments¶
Name |
Type |
Description |
---|---|---|
msg |
str, dict |
(optional; default: |
timeout_secs |
int |
(optional; default: |
levels |
list, None |
(optional; default: |
interval_secs |
int, float |
(optional; default: |