This change adds new option to lcd menu which allows
check battery state. In case if battery level is greater
than boot level threshold (20%), battery screen is not
displayed. So this menu option is useful in such situations.
Change-Id: I13e7e57516766fea787855b914d2884343cc33a5
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
static char *
mode_name[BOOT_MODE_EXIT + 1][2] = {
{"DEVICE", ""},
+ {"BATTERY", "battery"},
{"THOR", "thor"},
{"UMS", "ums"},
{"DFU", "dfu"},
static char *
mode_info[BOOT_MODE_EXIT + 1] = {
"info",
+ "charge level",
"downloader",
"mass storage",
"firmware update",
static char *
mode_cmd[BOOT_MODE_EXIT + 1] = {
"",
+ "battery state",
"thor 0 mmc 0",
"ums 0 mmc 0",
"dfu 0 mmc 0",
#ifdef CONFIG_LCD_MENU
enum {
BOOT_MODE_INFO,
+ BOOT_MODE_BATT,
BOOT_MODE_THOR,
BOOT_MODE_UMS,
BOOT_MODE_DFU,