coreboot/tests/lib
Subrata Banik f8381b9023 lib: Add low battery UX locale message
This commit adds a new UX locale message to display a warning when the
battery is critically low.

The message informs the user about the low battery and indicates that
the system is shutting down.

This change ensures that users are notified before the system
unexpectedly shuts down due to low battery.

BUG=b:339673254
TEST=Built and booted google/brox.

Change-Id: I75c7a0d4d439901098c7f17a1dc90355307116ac
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86284
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2025-02-15 18:58:48 +00:00
..
b64_decode-test.c b64_decode-test: Properly terminate strings before comparison 2024-08-26 18:49:54 +00:00
bootmem-test.c tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
cbfs-lookup-test.c commonlib/bsd: Remove cb_err_t 2022-03-09 02:18:21 +00:00
cbfs-verification-test.c cbfs/vboot: Adapt to new vb2_digest API 2022-09-02 23:51:29 +00:00
cbmem_console-test.c
cbmem_stage_cache-test.c
coreboot_table-test.c coreboot_tables: Make existing alignment conventions more explicit 2022-12-22 15:34:28 +00:00
crc_byte-test.c
dimm_info_util-test.c dram/ddr5: Use the same naming convention as DDR{2,3,4} 2024-05-07 10:53:18 +00:00
edid-test.c
fmap-test.c
hexstrtobin-test.c
imd-test.c tree: Fix cast an object of type 'nullptr_t' to 'uintptr_t' error 2024-10-29 01:41:41 +00:00
imd_cbmem-test.c tree: Fix cast an object of type 'nullptr_t' to 'uintptr_t' error 2024-10-29 01:41:41 +00:00
lib-test.c
libgcc-test.c
lzma-test.c tree: Use <stdio.h> for snprintf 2024-05-29 10:33:54 +00:00
Makefile.mk cbmem.h: Change return type of cbmem_get_region 2024-08-29 13:58:21 +00:00
malloc-test.c malloc/memalign: Return NULL if the request is too large 2024-01-29 19:12:43 +00:00
memchr-test.c
memcmp-test.c
memcpy-test.c
memmove-test.c
memrange-test.c tree: Drop duplicated <device/{path,resource}.h> 2024-04-12 04:24:20 +00:00
memset-test.c
region_file-test.c region: Turn region_end() into an inclusive region_last() 2024-08-23 01:08:16 +00:00
rtc-test.c tree: Drop repeated words 2023-02-07 04:37:31 +00:00
spd_cache-test.c test/lib: Add non-existent DIMMs test case in spd_cache-test 2022-11-03 13:00:15 +00:00
stack-test.c
string-test.c commonlib/bsd: Add strlen() and strnlen() functions 2024-08-14 03:09:03 +00:00
timestamp-test.c
uuid-test.c
ux_locales-test.c lib: Add low battery UX locale message 2025-02-15 18:58:48 +00:00