diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c index b9d6bfb1d9..501237e616 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -295,6 +295,8 @@ static bool clean_shutdown(void (*callback)(void *), void *parameter) | |||
295 | { | 295 | { |
296 | long msg_id = -1; | 296 | long msg_id = -1; |
297 | 297 | ||
298 | status_save(); | ||
299 | |||
298 | #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) | 300 | #if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING) |
299 | if(!charger_inserted()) | 301 | if(!charger_inserted()) |
300 | #endif | 302 | #endif |