summaryrefslogtreecommitdiff
path: root/include/display_7seg.h
diff options
context:
space:
mode:
authorYilun Lin <yllin@google.com>2019-04-30 16:47:11 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-05-02 16:12:36 -0700
commit34366869bbab2e7c27a037b4c7d3c15ee5bf151a (patch)
tree7c74dc6d186254f90d5305b78399fab1fae113fd /include/display_7seg.h
parent00f889bfcf324197f9469febc696bae5983c4775 (diff)
downloadchrome-ec-34366869bbab2e7c27a037b4c7d3c15ee5bf151a.tar.gz
kukui: Fix power leakage in LED.
Though setting the LED brighness to 0, LEDs are still sinking power. This causes power leakage (2mA) in G3 state. This CL turns off the LED current sinking if the LED brightness is set to 0. This also fixes LED not able to enter auto mode if it has been turned off previously. BRANCH=None BUG=b:131122365 b:131372801 TEST=see that the gap of the power of batt and sys are reduce from 2mA to 0.06mA. dut-control ppvar_batt_ma ppvar_sys_ma -t 3 |grep @@ @@ NAME COUNT AVERAGE STDDEV MAX MIN @@ sample_msecs 527 5.69 1.12 11.73 4.73 @@ ppvar_batt_ma 527 3.96 0.29 4.00 2.00 @@ ppvar_sys_ma 527 3.90 0.45 6.00 2.00 TEST=ectool led battery off; ectool led battery auto; and see the battery led can blink. Change-Id: I8422eb651781386caa0600448bde3a0825d65ec3 Signed-off-by: Yilun Lin <yllin@google.com> Reviewed-on: https://chromium-review.googlesource.com/1588302 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Yilun Lin <yllin@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/display_7seg.h')
0 files changed, 0 insertions, 0 deletions