I have problems with location based wifi on/off scheme. Smartphones with poor gps reception (chinese mtk65xx smartphones) and cheap tablets have location based sensors. Therefore I use the ping method to see if wifi should be turned off. Most probably I am on the move when there is no connection and volumes should be higher. It pings a host nearby. Check if it applies to you. (Ping to 8.8.8.8 and 4.2.2.2 is slower). Also implemented.
Now i have an energy efficient wifi checker.
http://automagic4android.com/flow.php?i ... fdf9f2d937
Any suggestions are welcome.. or a more efficient flow would also be appriciated
wifi off/on
Moderator: Martin