Some devices uses simple leds to provide the backlight to display, one
such example is Nexus 5, which uses /sys/class/leds/lcd-backlight/.
Details
Details
- Reviewers
broulik - Group Reviewers
Plasma - Commits
- R122:567c25786113: [backlight helper] Support setting backlight through leds subclass
Diff Detail
Diff Detail
- Repository
- R122 Powerdevil
- Branch
- add-led-brightness-support (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage
daemon/backends/upower/backlighthelper.cpp | ||
---|---|---|
121–124 | Still, Due to ledInterfaces being last this won't work on Nexus 5 I fear, mostly because it also have another raw interface at `/sys/class/backlight/lm3630``` which doesn't actually adjust brightness. |
Comment Actions
- use constFirst instead of first
- prefer led backlights first if available
- simplify QStringLiteral