diff options
author | Sowmya Aralguppe <sowmya.aralguppe@intel.com> | 2024-08-02 07:37:36 +0530 |
---|---|---|
committer | Karthik Ramasubramanian <kramasub@google.com> | 2024-11-04 17:30:01 +0000 |
commit | 8a17b89733a6ea10bb9a0c86feb8927b069825be (patch) | |
tree | 5702547489c85c284dadcbaf0bc5fd446443a9f2 /src/ec/kontron | |
parent | af4a2ed955ed93512cdb13d78b5d5a779bac1fb0 (diff) |
ec/google/chromeec: Add is_battery_present()
This patch adds is_battery_present() to check if the
battery is physically present
BUG=b:335046538,b:329722827
TEST=Build Brox and check is_battery_present
returns the correct battery status.
Change-Id: Ie49ed8f6d8b0fa59ec0e7b06efea9cac4d253957
Signed-off-by: Sowmya Aralguppe <sowmya.aralguppe@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83735
Reviewed-by: Caveh Jalali <caveh@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/ec/kontron')
0 files changed, 0 insertions, 0 deletions