同步关机时添加判断,避免提示音被打断或者重复播放关机提示音if(app_var.goto_poweroff_flag == 2){task_switch(“idle”, ACTION_IDLE_POWER_OFF);return;}