imx233: display battery voltage in bootloader (along with percent)
Change-Id: I7b14496ba891a9ff2f6373571a11835d37abee4e
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index c1ab489..9f6525e 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -103,7 +103,7 @@
info.state == TRICKLE ? "trickle" :
info.state == TOPOFF ? "topoff" :
info.state == CHARGING ? "charging" : "<unknown>");
- lcd_putsf(0, 8, "Battery: %d%%", battery_level());
+ lcd_putsf(0, 8, "Battery: %d%% (%d mV)", battery_level(), battery_voltage());
lcd_putsf(0, 9, "Die temp: %d°C [%d, %d]",
adc_read(ADC_DIE_TEMP), IMX233_DIE_TEMP_HIGH,
IMX233_DIE_TEMP_LOW);