summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhurima Paruchuri <mparuchuri@google.com>2022-12-20 16:06:02 +0000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-02 13:50:35 +0000
commit1b5ad4493dbf170ca365a38469131cf1143a9699 (patch)
tree63591b728081b50786423a3f010e0814f437a3cc
parente695717869fcbe0debca4450b6d066f3266b17be (diff)
downloadchrome-ec-stabilize-15301.B-main.tar.gz
battery: Follow a name convention in 'battery' console command outputstabilize-15301.B-main
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 <mparuchuri@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4091769 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
-rw-r--r--common/battery.c4
1 files 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