chaoscreater
Active member
I recently discovered that you can use logcat event as a trigger in MacroDroid. I gave MacroDroid read_logs permission via adb and was able to capture the logcat events that I want, so that's great.
The problem is that it seems MacroDroid is constantly looking at logcat events and is therefore causing a huge lag on my phone. If I disable the macro, it goes back to normal.
I only need the logcat event to be captured on phone bootup. However, there isn't a constraint suitable for that. There is only a constraint for "time since boot" and I'm testing it atm. But I was wondering if there is a constraint to make the macro run only once on initial boot, e.g. "run once on boot"?
And is it normal for MacroDroid to lag if using event capture as trigger?
More importantly, how can I store logcat events into a variable? I looked up a template in the store and it looks like you just use [logcat_line] and store that into a variable, but it doesn't work like that. If you use "Popup Notification", you can use the option "Logcat Entry Line", but this is not made available if you use "Set Variable".
UPDATE:
nvm, I didn't realize I was using variable with boolean instead of string, stupid me.
The problem is that it seems MacroDroid is constantly looking at logcat events and is therefore causing a huge lag on my phone. If I disable the macro, it goes back to normal.
I only need the logcat event to be captured on phone bootup. However, there isn't a constraint suitable for that. There is only a constraint for "time since boot" and I'm testing it atm. But I was wondering if there is a constraint to make the macro run only once on initial boot, e.g. "run once on boot"?
And is it normal for MacroDroid to lag if using event capture as trigger?
More importantly, how can I store logcat events into a variable? I looked up a template in the store and it looks like you just use [logcat_line] and store that into a variable, but it doesn't work like that. If you use "Popup Notification", you can use the option "Logcat Entry Line", but this is not made available if you use "Set Variable".
UPDATE:
nvm, I didn't realize I was using variable with boolean instead of string, stupid me.
Last edited: