Page 1 of 1
Proper Sleep Mode setup?
Posted: 01 Jul 2015 20:32
by leadhex
I've just recently started moving to Automagic from Tasker and have moved several complex profiles over. Some are intertwined nicely, but I'm still tweeking them.
However, it seems a simple Flow has me a bit stumped.
My main concern is the False loop would cause unnecessary battery drain.
Re: Proper Sleep Mode setup?
Posted: 02 Jul 2015 05:45
by kintrupf
I assume you want to switch the audio settings when a power source is connected between 8 and 9 am?
Why don't you simply use a trigger Power source connected followed by the condition Time Range?
This would accomplish the same with absolutely no battery drain...
Re: Proper Sleep Mode setup?
Posted: 02 Jul 2015 12:55
by leadhex
I attempted that method, however the issue I run into is what if I plug in the phone at 7:55PM? The phone will not go on vibrate then.
Edit: The time range is supposed to be 8PM-9AM.
Re: Proper Sleep Mode setup?
Posted: 02 Jul 2015 15:47
by Wibbly
If the time isn't completely critical, you could use your existing flow but include a sleep action in the loop set to, say, 5 min. The flow would only 'wake up' to execute the loop once every 5 min.
You could instead write a flow that only ran whilst the power was connected, so when on battery power the flow didn't run at all...
Re: Proper Sleep Mode setup?
Posted: 02 Jul 2015 16:54
by leadhex
Wibbly wrote:If the time isn't completely critical, you could use your existing flow but include a sleep action in the loop set to, say, 5 min. The flow would only 'wake up' to execute the loop once every 5 min.
You could instead write a flow that only ran whilst the power was connected, so when on battery power the flow didn't run at all...
I decided to go with the Power Connected trigger then a condition to check if it is in the 8PM-9AM time range. If not, sleep for 10m and check again.