summaryrefslogtreecommitdiff
path: root/board/hammer
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2018-01-12 19:16:15 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-14 18:38:29 -0800
commit4c56c17a1a81ca55a2f5572208bd21e811a639ed (patch)
treecf5b43adefb58d4818813f4e0bd41ca637159f80 /board/hammer
parent66bc9c1082771e4da720f93e64aadfae23c1f22e (diff)
downloadchrome-ec-4c56c17a1a81ca55a2f5572208bd21e811a639ed.tar.gz
battery: Add support for reading base battery through host command
This adds support for EC_CMD_BATTERY_GET_STATIC and EC_CMD_BATTERY_GET_DYNAMIC host commands, that can currently only fetch the base battery information using index = 1. In the future, all battery information can be passed to AP using these host commands (i.e. lid could provide its own battery information on index = 0). BRANCH=none BUG=b:65697620 TEST=ectool battery shows lid battery information (no change) TEST=ectool battery 1 shows base battery information Change-Id: Ib819e4917b3acc337348764f6cc2aa7380bed700 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/863863 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/hammer')
0 files changed, 0 insertions, 0 deletions