2g/3g/4g Idle and 30 minute sync loop

by Matt Stephens

Version 1 (May 31, 2016)

Download (195 downloads)

1) Does nothing when airplane mode is enabled.
2) Upon screen off, 1h timer counts down (provided no media is playing) then will switch mobile network to 2g.
2) Once 2g is enabled, a second timer of 30 minutes counts down, then enables 3g/4g, forces sync, switches to 2g again, and begins the 30 minute timer once more. This portion continues to loop until...
3) Upon screen on, 4g is enabled and all other fibers are cancelled until further screen on/off action.