From 1b5ad4493dbf170ca365a38469131cf1143a9699 Mon Sep 17 00:00:00 2001 From: Madhurima Paruchuri Date: Tue, 20 Dec 2022 16:06:02 +0000 Subject: battery: Follow a name convention in 'battery' console command output Refactored couple of names in 'battery' console command output to have single name convention in output BUG=none BRANCH=none TEST=Flashed on Taniks and checked output on EC console Change-Id: I080445c2c1013b9c04823ae25201c3d987f00444 Signed-off-by: Madhurima Paruchuri Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4091769 Reviewed-by: Daisuke Nojiri Reviewed-by: Fabio Baltieri Code-Coverage: Zoss --- common/battery.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/battery.c b/common/battery.c index 9fc347693d..9e46cd8bbf 100644 --- a/common/battery.c +++ b/common/battery.c @@ -243,10 +243,10 @@ static void print_battery_info(void) ccprintf("%dh:%d\n", hour, minute); } - print_item_name("full_factor:"); + print_item_name("Full Factor:"); ccprintf("0.%d\n", batt_host_full_factor); - print_item_name("shutdown_soc:"); + print_item_name("Shutdown SoC:"); ccprintf("%d %%\n", batt_host_shutdown_pct); #ifdef CONFIG_BATTERY_FUEL_GAUGE -- cgit v1.2.1