Hello, yours sounds to be a bit complex
I do the following to sync every 20 minutes, (you can add locations or time and have one for Wifi and another for Data so that it uses one of the modes )
So it has a pair of events, 1 switches on Wifi or data every 20 minutes and the other one switches it off every 21 minutes. - I think another user also had a similar logic in this forum
Create Event name it something
Click advanced:
Delay Event
Delay Minutes : 1 minutes
Cancel Delay if False
Repeating Event
Repeat Every 20 Minutes
Conditions:
Screen Off
Action: (two actions)
Action 1.
Queue Another Event (enter these details for the Queue Event):
Event Name: Data On
> Queue Delay: 19 Minutes
> Actions: Toggle Mobile Data On
> request sync
Action 2.
Toggle Mobile Data Off
Disable Sync
Hi, you're right, this is more simple than mine and it works. However you will have some issues.
- First, you won't sync at all with the screen on (I guest you still want to receive emails when using your phone). Moreover, if you turn the screen on when syncing, the synchronization won't stop until you turn your screen off.
- For Wifi, if you keep wifi on all the time in your house, this will turn it off, and if you turn the screen on at that moment, you will have to turn it on manually. On the other hand, if you turn wifi on with the screen at home, this causes least problems, but you will still have the first issue.
Because of these and other issues, when I created the events at the end of the synchronization I don't turn off data or wifi (I stop synchronization but don't turn connections off), like I said, I have another event that will turn off wifi (and another event for Data) when the screen is off and there is no synchronization in execution.
Also i have the event that turns wifi on with the screen at home, when there is no synchronization in execution (since it's unnecessary).
Finally, your events are fine if you want the same synchronization rate all the time. I did mine considering peaks and normal schedules for weekdays and weekends differently. All these ideas came for simulating juice defender advanced behavior.
Nevertheless, my events do want I wanted them to do and you can modify them to your likes ;-)
Enviado desde mi GT-N7000 usando Tapatalk 2