Actions from plugins got delayed

xitrum4692

New member
Hi guys, so I'm experiencing some delay from any actions that comes from any plugins. Native actions run wonderfully, but it takes around 4-5 seconds to run plugin's action. For example, I'm using UITask to display an input dialog, it took 3-4 seconds to display that dialog. I see no error in the logs. Anyone has any idea about this?
It works alright before, not sure what happened. I'm using a Z Fold (samsung phone) on Android 12L, and restart the phone got the action running alright again, for a few hours, so I think it could be coming from my device rather than the app.
Thank for your time!
 

dhj49er

Well-known member
Hi guys, so I'm experiencing some delay from any actions that comes from any plugins. Native actions run wonderfully, but it takes around 4-5 seconds to run plugin's action. For example, I'm using UITask to display an input dialog, it took 3-4 seconds to display that dialog. I see no error in the logs. Anyone has any idea about this?
It works alright before, not sure what happened. I'm using a Z Fold (samsung phone) on Android 12L, and restart the phone got the action running alright again, for a few hours, so I think it could be coming from my device rather than the app.
Thank for your time!
The fact that there is no delay after a reset suggests that the OS is causing the issue. It looks like it could be putting the plugin apps to sleep.
Have you, for all the plugin apps, set the battery to Unrestricted?
On a Samsung running at least UI 3.0, one app is allowed to be kept open in memory. I have MD set for this feature. To activate it, launch and close MD. Go to recent and find the MD tab. Touch the MD icon and select keep open
Do you have Battery....background usage limits.... Put unused apps to sleep set ON? If so, either turn OFF or add all the plugin apps to the never sleeping tab.
 

xitrum4692

New member
The fact that there is no delay after a reset suggests that the OS is causing the issue. It looks like it could be putting the plugin apps to sleep.
Have you, for all the plugin apps, set the battery to Unrestricted?
On a Samsung running at least UI 3.0, one app is allowed to be kept open in memory. I have MD set for this feature. To activate it, launch and close MD. Go to recent and find the MD tab. Touch the MD icon and select keep open
Do you have Battery....background usage limits.... Put unused apps to sleep set ON? If so, either turn OFF or add all the plugin apps to the never sleeping tab.
I put all of the apps related to all macros and actions to Unrestricted already. No apps are on sleeping/deep sleeping in anyway. Pretty sure I whitelisted all of the app/plugins since this is my suspect as well, but no luck. I got ADB hacked for MD and MD help also, and accessibility restarting set up in MD setting.
 

xitrum4692

New member
Dontkillmyapp.com
Yup, I already tried this. Turned off every battery optimization option following the guide. Not helping, and somehow it got worse, the delay is even longer🥲.
Can anyone tell me how MD involves plugins tho? It got delayed and I don't know how to google if it's actually the OS doing. Thank you
 

MacroDroidDev

Administrator
Staff member
Have you excluded the specific plugins you are using from battery optimization?

I'm not seeing any delay with Tasker plugins on several devices so I'm not sure what can be causing this.
 
Top