Commit 02adf15
fwk: main: fix auto als powerbtn led behavior
when driver is not ready ALS driver won't return lux data
this CL change to use ALS sensor lux data,
and use a default level(high) if ALS lux data not ready
BRANCH=fwk-main
BUG=https://app.clickup.com/t/86et2uph0
TEST=on lilac, into setup menu enable power button led option to auto,
1. check when bootup hide the ALS sensor(make lux data to zero)
the power btn LED still keep at high level.
2. after bootup hide the ALS sensor and shutdown unit then bootup again
power btn LED keep high level
3. after bootup hide the ALS sensor and reset EC by console reboot then bootup
again check power btn LED keep high level
Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>
(cherry picked from commit 948e332)1 parent 35c81bc commit 02adf15
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
0 commit comments