diff options
author | Jamie Ryu <jamie.m.ryu@intel.com> | 2023-10-11 20:11:52 -0700 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-10-16 03:41:29 +0000 |
commit | 19080a71c85eb8a62d18267f57cc1d01ba7b00dc (patch) | |
tree | 02940fb880cea2d8490da605138670478563b14a /src/mainboard/google/cherry | |
parent | 9b230ae29557f09e67b4d9a598a794af3d092199 (diff) |
ec/google/chromeec: Add is_battery_present_and_above_critical_threshold
This adds is_battery_present_and_above_critical_threshold to check the
battery is present and the battery level is above critical level.
BUG=b:296952944
TEST=Build rex and check is_battery_present_and_above_critical_threshold
returns the correct battery status.
Change-Id: Ib38be55bc42559bab4f12d5e8580ddc3e1a6acc1
Signed-off-by: Jamie Ryu <jamie.m.ryu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78321
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/cherry')
0 files changed, 0 insertions, 0 deletions