These 3 flows enable you to conserve some battery; you just need to change the sound (if needed at all) which will alert you when data/wifi is turned off
How it works
The 2 small scripts simple set a global for when screen is on or off
The connectloop flow, checks if wifi and/or gprs is active, checks if screen is off and starts a 14 minute loop (every 15 minutes)
and turn on wifi/data for 2 minutes, and leaves it off for 9 minutes
So in a 15 minute arc starting 7am, if you are not using the phone (display on) the mobile will turn off both wifi and gprs/data. Granted that automagic itself eats up battery too, but I have been getting some extra juice since I did these scripts.
You can of course adapt as needed.
Battery saver flow
Moderator: Martin
-
- Posts: 1
- Joined: 04 Sep 2013 18:42
Battery saver flow
- Attachments
-
- connectloop.xml
- (8.18 KiB) Downloaded 1185 times
-
- Display on.xml
- (981 Bytes) Downloaded 1114 times
-
- Display off.xml
- (985 Bytes) Downloaded 1052 times
Re: Battery saver flow
Genius! Well.. Creative at least. I'll be trying these out!
Re: Battery saver flow
Already having issues with this.
I had to add a check to see if music was playing because I don't want it shutting off my tunes.. (riding a motorcycle, screen may be off) but the bigger problem is, why are you looping 2-3 times inside the flow?
Couldn't you just call the flow back upon itself with a flag that you set in the flow?
Something like (psuedo code)
If FlowRunning is 1 then
Turn off Wifi and Data
Else
set FlowRunning=1
Turn on Wifi and Data
Sleep 2 minutes
End
I had to add a check to see if music was playing because I don't want it shutting off my tunes.. (riding a motorcycle, screen may be off) but the bigger problem is, why are you looping 2-3 times inside the flow?
Couldn't you just call the flow back upon itself with a flag that you set in the flow?
Something like (psuedo code)
If FlowRunning is 1 then
Turn off Wifi and Data
Else
set FlowRunning=1
Turn on Wifi and Data
Sleep 2 minutes
End