diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-06-03 17:22:22 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-06-07 06:01:00 +0000 |
commit | f7ae0fb81b4b43c939ec1be674e940377b8c8d64 (patch) | |
tree | a10b56287afa8a06c8652c768d84ae682446f768 /board/fruitpie/usb_pd_policy.c | |
parent | bcb9428312f2f053b2f9da642d658d01ecec085a (diff) | |
download | chrome-ec-f7ae0fb81b4b43c939ec1be674e940377b8c8d64.tar.gz |
Add display-battery-level function to lightbar
This adds a new lightbar sequence (TAP), which temporarily displays the
battery level. It pulses if the system is charging.
BUG=chrome-os-partner:29041
BRANCH=ToT
TEST=manual
From the EC console, run
lightbar seq tap
The lightbar should change temporarily.
Then run
lightbar demo on
and press the Up, Down, Left, and Right keys to fake the battery charge
level (up & down) and the AC present state (left & right). Run the
lightbar seq tap
command periodically to watch it change.
Change-Id: I84ff928d93060f7ef7d46d608732d37cf5185aff
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/202964
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/fruitpie/usb_pd_policy.c')
0 files changed, 0 insertions, 0 deletions