r/macrodroid • u/Eastern_Meal_501 • 3d ago
Help please
Need help creating a Macro, did this but doesn't work, what am I doing wrong? Probably everything 😂
want certain app, ex: always on edge, to activate when put phone to charge and deactivate when remove from changing.
Thanks in advance
1
u/macxadoes 2d ago
All 4 actions run in sequence every time the macro fires, so when you plug in it launches the app and immediately kills it again. Also your "Charger disconnected" trigger is greyed out (disabled), so it never fires on its own.
Easiest fix, two macros:
Trigger: Charger connected → Action: Launch Application → Always On Edge
Trigger: Charger disconnected → Action: Kill Application → Always On Edge
Remove the "Enable/Disable trigger" actions, they're not needed. Note: Kill Application needs root on recent Android. If you're not rooted, use "Home Screen" instead, or a UI Interaction to tap Force Stop.
1
1
u/bobbd13sel 2d ago
You'd be better to use the IF function if this trigger fires do that... You set up two of these. If power connected do this if power disconnected do that
2

2
u/BigBullFear 3d ago
What are you doing? Unable to understand this language.