diff options
author | Samsp_Liu <Samsp_Liu@compal.corp-partner.google.com> | 2020-08-20 20:09:06 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-28 04:32:52 +0000 |
commit | 8d626e31f3db95054bc43904c314f075094f3051 (patch) | |
tree | 8e88db8da98a29f6c92e8b079b40839e348a7a9b /board/atlas/led.c | |
parent | bee0b6334399a341e7e242b5e8b12575262c9791 (diff) | |
download | chrome-ec-8d626e31f3db95054bc43904c314f075094f3051.tar.gz |
halvor: implement LED behavior
On halvor, we have a LED indicator with following:
Power LED:
System S0: White.
System S3: Blinking white (1 sec on, 1 sec off)
System S5/G3: Off.
Battery LED:
DC mode:
System S0: off.
System S5/G3: Off.
System battery low: Blinking Amber (1 sec on, 1 sec off)
AC mode:
Charging: Amber.
Full charged: White.
BUG=b/166057836
BRANCH=none
TEST=halvor test
1. Check battery LED on full charging / charging / discharging.
2. Check power LED on s0 / suspend / s5.
3. Check "ectool led" command for battery and power LED control.
4. Check battery LED on low battery state.
Change-Id: Ie6d6661c2b249336798099679635682e43aff5f3
Signed-off-by: Samsp_Liu <Samsp_Liu@compal.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2366418
Tested-by: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: SamSP Liu <samsp_liu@compal.corp-partner.google.com>
Diffstat (limited to 'board/atlas/led.c')
0 files changed, 0 insertions, 0 deletions