[APP][2.1+][20 May - 2.1RC1] Better Wifi on/off
Better Wifi on/off is the latest creation of project better
. It is an agent managing your Wifi state based on heuristics (set of rules).
This app aims at giving you the control of the Wifi state, optimizing your battery life without losing on user experience.
Better Wifi on/off releases are available from Google Play
. Development versions will be made available on xda for testing new features / fixes.
The app is free, fully featured with ads.
If you want to support me and/or get rid of the ads you can purchase a "support-the-dev" version on google play.
What is the motivation behind controlling Wifi?
On paper Wifi is less power hungry than 3G but... some apps behave differently when Wifi is on (DropBox / Google+ uploads, Google Maps location caching), the well known wlan_rx
kernel wakelock is a symptom of wakeups caused by uncontrolled Wifi hotspots, the Wifi sleep policy is not working consistently and does solve all problems.
Settings to control Wifi
The preferences allow you to control Wifi.
The basic rules for keeping Wifi on / turning Wifi off are (will vary based on your settings):
When device is turned on Wifi stays on if
: "network is connected" AND "the access point is whitelisted" && "wifi is not caged (a connection to google.com can be made)"
When screen goes off Wifi stays on if
: "phone is in call" OR "network activity was detected" OR "tethering is on" OR "wakelocks from other apps using network were detected"
There are of course plenty of settings to change that behavior like e.g. keep Wifi on if connected to A/C, leave Wifi on as long as connected to a whitelisted SSID.
This project is open source und the Apache license. Please feel free to browser the repo, review, fork it as you like: https://github.com/asksven/BetterWifiOnOff
Bugs / Feature requests
Open bugs and feature requests can be found on github here: https://github.com/asksven/BetterWifiOnOff/issues
If you want to report a bug you can to it there but also simply post it here, I'll take care of documenting it and reply with the issue number for an easier tracking.
Added direct link to gplay from main screen
#120: start thread for cage check earlier (at wifi on)
Added timed checks
Loading application whitelist is asynchronous
#115 threaded cage check
Added more logging to solve the "alarm: null" error
Updated russian language file
Added timestamps to logcat output
#115: better cage detection
#116: inconsistent messages when enabling/disabling from the widget
#117: inconsistent plug/unplug event messages
#119: null pointer exception with message alarm: null
Fix for detection support the dev version
Merged to master
#112: A better fix for donation detection
#112: Fixed donation detection
ActionBar style for pre-ICS phones
#110: fixed CDMA cell collection
#104: added share/save feature
#105: handle CDMA cells
#106: event log on whitelist shows %s instead of real value
#107: added "clear cell log"
#108: null pointer is cellinfo is null
#109: blank SSID causes the A/P to be handled as whitelisted
#103: fixed issue with unfinished database transation
Removed pull-to-refresh as no longer maintained
#11: added cell tower awareness and rule to turn Wifi on only if connected of known cell
#102: app wihtelist does not keep checked apps
#98: add check for whitelisted app: when running Wifi will not be turned off
Uses ActionBarSherlock for same UX on all android versions
Use Pull-to-Refresh to update list
#95: enabling with widget turns wifi on
#96: avoid scheduling wifi off when screen goes off but wifi is off already
#100: preference to select between light and dark theme