Schedule wifi on when the screen is off

Post your questions and help other users.

Moderator: Martin

Post Reply
pearpear
Posts: 3
Joined: 15 Nov 2013 06:55

Schedule wifi on when the screen is off

Post by pearpear » 20 Nov 2013 03:10

I've a flow which will schedule to switch on the wifi periodically and download some files during the screen is off.

1. Time tigger the flow
2. Switch Wifi State to On
3. Sleep 1m (allow sleep)
4. Check if Wifi connected to any SSID
5. Download files if connected

However, the condition that checking ssid always return false and therefore it won't run the 5th step.
If I screen on and execute the flow manually, it doesn't have any problems and it can connect to the wifi and run to the end of the flow.
Is it impossible to switch on the wifi and connect to any ssid when the mobile is sleeping or screen off?

Martin!
Posts: 31
Joined: 26 Oct 2013 18:00

Re: Schedule wifi on when the screen is off

Post by Martin! » 20 Nov 2013 12:13

Maybe you have set your wifi sleep policy to automatically disable wifi when the screen is off?

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: Schedule wifi on when the screen is off

Post by pat2net » 20 Nov 2013 14:32

That's true, I was having the same problem with wifi automation because of my wifi settimg. If you want to change the setting try to run this flow and put the wifi settimg to never then you can control yourself the wifi setting with automagic.

http://automagic4android.com/flow.php?i ... 5f46809e29

Post Reply