coreboot/src
Jamie Ryu 19080a71c8 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>
2023-10-16 03:41:29 +00:00
..
acpi acpi/acpigen_ps2_keybd: Reduce minimum keys, optional alpha/num/punct 2023-10-02 16:24:54 +00:00
arch arch/x86/cpu_common: Add cpu_get_c_substate_support 2023-10-06 12:15:34 +00:00
commonlib cbfs: Restore 32-bit padding in cbfs_header 2023-10-06 10:11:31 +00:00
console commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
cpu Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00
device arch to drivers/intel: Fix misspellings & capitalization issues 2023-09-08 00:53:57 +00:00
drivers spi/winbond: Use spi_flash_bpbits in winbond_bpbits_to_region 2023-10-05 12:57:51 +00:00
ec ec/google/chromeec: Add is_battery_present_and_above_critical_threshold 2023-10-16 03:41:29 +00:00
include include/stddef: define SIZE_MAX 2023-10-10 06:43:37 +00:00
lib cbfs: Remove x86 .data section limitation comment 2023-09-18 13:19:51 +00:00
mainboard mb/google/brox: Create new Brox baseboard 2023-10-13 18:35:11 +00:00
northbridge Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/tpm: Enable Hibernate on setup failure 2023-10-02 17:06:32 +00:00
soc soc/intel/xeon_sp/spr: Add SATA controllers 1 and 2 to devicetree 2023-10-13 13:51:50 +00:00
southbridge sb/intel/bd82x6x/pcie: Drop register write 2023-10-12 12:41:17 +00:00
superio superio/smsc/sch5147/acpi/superio: use IO instead of FixedIO resource 2023-08-11 23:11:57 +00:00
vendorcode treewide: convert to tpm_result_t 2023-09-28 16:54:37 +00:00
Kconfig Kconfig: Bring HEAP_SIZE to a common, large value 2023-10-11 12:09:01 +00:00