Delay shutdown - app continues playing

Jaybee2016

Member
Jan 25, 2016
16
0
0
When delay shutdown is enabled some apps continue working. For example the podcast app I'm using continues playing all the two hours until real shutdown if not paused manually before. On the other hand some apps seem to stop. I wonder if anybody has some info on what is happening during delay. Are there some system messages which could be processed by the app to sense power off?
 

mysteryUser

New member
Jun 19, 2016
1
0
0
I don't know the answer to this, but have more questions / observations.

I installed the app Car Service, so I can control Spotify via the wheel. This is closed when the delayed shutdown happens, so, when I turn on again within that time the wheel controls no longer work unless I start the app manually. Very annoying!

I really could do with working out what is deciding if an app should stay running or be closed.
 

carter.w.jason

Senior Member
Sep 20, 2015
122
21
0
When delay shutdown is enabled some apps continue working. For example the podcast app I'm using continues playing all the two hours until real shutdown if not paused manually before. On the other hand some apps seem to stop. I wonder if anybody has some info on what is happening during delay. Are there some system messages which could be processed by the app to sense power off?
You can use Tasker with MTC Manager to do this. MTCM sends a broadcast intent during poweroff that can be used to trigger a task

Tasker Profile: Event, System, Intent Recived, Action: "com.microntek.bootcheck" // leave everything else blank.

Profile Task: Media, Media Control, Cmd Pause, select your app. If: %class ~ poweroff
 
Apr 19, 2010
7
0
0
You can use Tasker with MTC Manager to do this. MTCM sends a broadcast intent during poweroff that can be used to trigger a task

Tasker Profile: Event, System, Intent Recived, Action: "com.microntek.bootcheck" // leave everything else blank.

Profile Task: Media, Media Control, Cmd Pause, select your app. If: %class ~ poweroff
Forgive my ignorance, but what is the MTC manager? i tried to set up this profile in tasker, but had no luck. i have the malaysk 5.1 rom installed.
 

carter.w.jason

Senior Member
Sep 20, 2015
122
21
0
Forgive my ignorance, but what is the MTC manager? i tried to set up this profile in tasker, but had no luck. i have the malaysk 5.1 rom installed.
MTC manager is a service that handles all the source switching and custom functions of these head units. Could you change the profile task to something else? Lets see if the profile is working, could be some changes on 5.1. Maybe have it write a file since the screen will be off.