I used to use Llama, but things got a bit wonky when it was starting Wifi back up (wifi would connect, then drop the connect and not re-establish) so I decided to give AutomateIt a poke... but the big rule I want is a rule that messes with my wifi/mobile data when the screen is off to help extend battery life. The rule needs to do this:
1) screen goes off wait 5 seconds and disable wifi/mobile and sync
2) Start a recurring rule that runs every 15 minutes (or whatever) that enables wifi/mobile, calls for a sync, the disables the wifi/mobile a minute later.
The programmer in me would like to have this all done in 1 rule (which I could do in Llama)... The best I could come up with is two recurring rules that kick off when the screen goes off... 1 that disables data on screen off, then disables things every 15 minutes..2 that runs every 15 minutes and offset it by 14 minutes so it alwyas kicks off a minute before everything gets shut down again.
Anyone have any thoughts as to how to get this in one uber-rule?
1) screen goes off wait 5 seconds and disable wifi/mobile and sync
2) Start a recurring rule that runs every 15 minutes (or whatever) that enables wifi/mobile, calls for a sync, the disables the wifi/mobile a minute later.
The programmer in me would like to have this all done in 1 rule (which I could do in Llama)... The best I could come up with is two recurring rules that kick off when the screen goes off... 1 that disables data on screen off, then disables things every 15 minutes..2 that runs every 15 minutes and offset it by 14 minutes so it alwyas kicks off a minute before everything gets shut down again.
Anyone have any thoughts as to how to get this in one uber-rule?