Files
OpenCellular/util
Nicolas Boichat 4c56c17a1a 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>
2018-01-14 18:38:29 -08:00
..
2017-03-01 05:04:04 -08:00
2016-06-02 17:02:51 -07:00
2013-07-01 16:14:16 -07:00
2015-06-18 19:07:00 +00:00
2015-12-08 12:28:57 -08:00
2016-02-10 18:19:24 -08:00
2012-11-01 14:09:34 -07:00
2018-01-10 12:58:55 -08:00
2016-02-05 06:02:49 -08:00
2014-02-17 17:35:43 +00:00
2017-06-28 21:50:50 -07:00
2014-01-15 04:52:54 +00:00
2017-09-15 08:46:32 -07:00
2016-02-05 06:02:49 -08:00