summaryrefslogtreecommitdiffstats
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index e10fceb9af..21a45037ad 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -306,6 +306,12 @@ static bool clean_shutdown(enum shutdown_type sd_type,
{
long msg_id = -1;
+ if (!global_settings.show_shutdown_message && get_sleep_timer_active())
+ {
+ talk_force_shutup();
+ talk_disable(true);
+ }
+
status_save();
#if CONFIG_CHARGING && !defined(HAVE_POWEROFF_WHILE_CHARGING)