diff options
author | Aseda Aboagye <aaboagye@google.com> | 2020-08-21 15:31:52 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-08-26 04:47:39 +0000 |
commit | e909c5a3f0b0c8f8fcba470878170f3d3195d9b1 (patch) | |
tree | 626cb360ee4f4d1da9439e3da0c35d8e42ce70d3 /common/ec_ec_comm_slave.c | |
parent | ff52ee7e2da9dd76499007a6b541c3fdc093aa02 (diff) | |
download | chrome-ec-e909c5a3f0b0c8f8fcba470878170f3d3195d9b1.tar.gz |
battery_fuel_gauge: Add check for CFET status
This commit adds a function that allows the system to check the
if the charge FET (CFET) is disabled or not.
BUG=b:160918663
BRANCH=None
TEST=Build and flash waddledee; cutoff battery, revive system, verify
that "found batt in disconnect" statements are still found.
TEST=Add other code, verify that CFET status is able to be retrieved.
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I899070e50a38499708a367bba6b5f502b0232672
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2368071
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Auto-Submit: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common/ec_ec_comm_slave.c')
0 files changed, 0 insertions, 0 deletions