diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/main_menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index 0ac4d94..a50a2cb 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -370,7 +370,10 @@ bool info_menu(void) #ifdef HAVE_LCD_CHARCELLS static bool do_shutdown(void) { - sys_poweroff(); + if (!charger_inserted()) + sys_poweroff(); + else + charging_splash(); return false; } #endif |