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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
Sources
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.
Changelog:
V.2.1
- no changes from RC3
V.2.1RC3
- updated russian translation
- added more logging on detected connected SSIDs
V.2.1RC2
#120: a hopefully better fix for cage check timings
#125: added a pref for leaving wfi on when screen goes off but a connection is active
V.2.1RC1
Added direct link to gplay from main screen
V.2.1B3
#120: start thread for cage check earlier (at wifi on)
Added timed checks
Loading application whitelist is asynchronous
V.2.1B2
#115 threaded cage check
Added more logging to solve the "alarm: null" error
Updated russian language file
Added timestamps to logcat output
V.2.1B1
#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
Older changelogs
V.1.3.0.2
#92: enable/disable messages are shown multiple times and are not consistent to the user events
V.1.3.0.1
#91: Wifi should be turned off when screen is off and whitelisted a/p gets disconnected
V.1.3.0.0 on Google Play
No changes from latest RC
V.2.0
Merged to master
V.2.0RC8
#112: A better fix for donation detection
V.2.0RC7
#112: Fixed donation detection
ActionBar style for pre-ICS phones
V.2.0RC6
#110: fixed CDMA cell collection
V.2.0RC5
#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
V.2.0RC4
#103: fixed issue with unfinished database transation
Removed pull-to-refresh as no longer maintained
Optimized dialogs
V.2.0RC3
#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
V.2.0RC2
#98: add check for whitelisted app: when running Wifi will not be turned off
V.2.0RC1
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
Added russian
V.1.3.0.0RC2
#90: wrong message when user disables/enables processing by tapping the widget
V.1.3.0.0RC1
#88: When disregard airplane mode is enabled wifi is not turned on when screen is turned on
#89: disabling / enabling handling based on user action on wifi outside of BWOF should be logged
New readme and rate dialogs
V.1.2.0.0
No change from RC1
V.1.2.0.0RC1
#82: pref to re-enable BWOF when Wifi is turned on manually
#84: conneting power does not respect airplane mode
#85: when pref is undefined turning screen on enables wifi even if this action is set on unlock
V.1.1.1.0
Fixed various FC conditions from logs/gplay dumps
V.1.1.0.1
#83: potential FC when opening preferences
V.1.1
No change. Grab it from Google Play
V.1.1RC2
no changes, done all the merging and prepared for release
V.1.1RC1
#39: advanced pref to connect to best available network
#80: make sure to always cancel pending alarms when screen is turned on
#81: allow to disable Wifi on function completely
V.1.1B3
#77: widget bg is not 100% transparent
#78: screen on/unlock should always make sure that pending alarms for Wifi-off are canceled
#79: losing connection to access point should never cause handling to get disabled, only user turning Wifi off
V.1.1B2
#19: disable processing when user turns Wifi off using the settings
#70: add second URL for cage detection check
#76: fixed API returning quoted SSIDs (bug found on 4.2)
Compiled with new SDK
V.1.1B1
#69: locale/tasker plugin to enable/disable processing
#71: reduce event logging
#73: fixes for french
#74: widget to control processing (enable/disable)
#75: pref to ignore airplane mode and still enable/disable Wifi
V1RC9
#68: fixed cage detection
V1RC8
#67: fixed SQLite exception and missing perm
V1RC7
#65: respect airplane mode for all screen events
V1RC6
#61: fixed event log sorting to DESC
#62: whitelist shows quotes around some SSIDs
#63: inconsistent placement of pref "if plugged" between simple and expert mode prefs
#64: changes in SSID whitelist are not reflected immediately
V1RC5
New fix for not always visible event log (is not persisitent)
Check for turning Wifi off now goes on every 15 minutes instead of stopping after 5 retries (needed for #51)
#51: rule for leaving Wifi on when screen goes off and SSID whitelisted
#57: fixed whitelist detection not working in RC4
#58: fixed whitelist prefs for post-GB devices
#59: encoding in pref for network activity
#60: SSID should show configured and not available SSIDs
V1RC4
#51: added rule to not turn Wifi off when screen goes off but a whitelisted SSID is connected to (pref)
#54: Alarm should go on every 15 minutes in order to disconnect when whitelisted SSID is not connected anymore
#55: respect airplane mode (do nothing if detected)
#56: reordered prefs by rules for leaving wifi on "when screen on" and "when screen off"
V1RC3
#50: Wifi off delay labels were misleading
#52: whitelist is no multi select list on SDK >= 11
#53: do not check wakelocks when wifi is turned off as a result of "leave Wifi on" rules
V1RC2
#49: added perm to read logs (pre JB)
V1RC1
Cleaned up home screen, moved "disable" to (advanced) prefs
V0.10.1
#48: removed 'grep' command from logcat
V0.10
#41, 43: option to save preferences / logcat as debug info
#42: repertoed typos
#44: added simple and expert preferences
#45: removed own logfile
#46: removed not requires prefs: leave on if in call and if tethering are both always handled
V0.9
#40: don't turn Wifi off is Wifi tethering is active
Added german and french translations
V0.8.1
#31: wifi goes off when unplugged but screen is on
#32: calling the app from notification does not show even log
#33, 35: make pref labels consistent
#37: alarm for turning Wifi off should not obcess
Fix for Wakelock detection
V0.8
#36: added wakelock detection to keep Wifi on when background apps (e.g. streaming) are running
V0.7
#29: a delay of 0 skips some checks before turning Wifi off
#30: fixed binder error
Added better network activity detection before turning Wifi off (besides download manager, see preferences)
V0.6.1
#27, #28: added more logging / event logging
V0.6.
Added icons to action bar (ics+)
#17: keep wifi active when screen goes off and downloads are running or queued
#26: keep wifi active when screen goes off and in a call
V0.5.
#20: (another attempt to fix) fast off/on causes Wifi to be turned off be not canceled alarm
#25: editing SSID whitelist causes the correct connection to be re-validated (after the configured timeout)
V0.4.1.0
#21: Wifilock checkbox on main screen is not sticky
#22: Broadcast handler is not allowed to send events to Service
#23: Wifilock pref caused FC
V0.4.0.1
#20: fast off/on causes Wifi to be turned off be not canceled alarm
V0.4.0
#8: Wifilock when connected and permanent
#9: option to stay on only if connected to a whitelisted SSID
#13: add Wifi power management: high perf Wifilock
#15: fixed bug not disabling all functions
V0.3.1
#7: fix for FC condition on punplug
V0.3
#5: not all actions are documented on screen
#6: option to hold wakelock during plugged to prevent the phone from sleeping
V0.2
#1: removed preference "on only if previously on": far too complex to explain
#3: added a preference to disable the handling
#4: preference to leave Wifi on when screen goes off but phone is on charger
V0.1
- initial beta release
How To
How to report a bug
Reporting this or that is not working does not help. This is a development thread and I expect a minimum set of information:
- What version are you using
- What behavior did you expect
- What behavior did you get
- How to reproduce the problem
- a Log
You can report bugs in this thread or on github (see post #1 for links)
How to request a feature
Simply post what you would like to have. If others (and I) like the idea it will be implemented (as long as possible)
FAQ
Q: Why would I need an app to control my Wifi state?
A: If you are happy with your settings and your battery life you don't need it
Q: How can I find out if Wifi is draining my battery?
A: Use Better Battery Stats
Q: But Wifi consumes less power than 3G, Why would I want to turn Wifi off?
A: Theoretically true but... Many apps behave differently when Wifi is on, like e.g. Dropbox or Google+ upload features. Besides that the famous wlan_rx kernel wakelocks show that incoming traffic can wake up your phone, causing a lot of overhead. And finally the Wifi sleep policy is not optimal for everyone (if working at all)
Q: Will this app stay free?
A: yes, free with ads but fully featured. There will be a donate version to support me but that version will only remove the ads
Q: Will this app be available on Google Play?
Yes, once out of beta. To be efficient a beta must be limited to a small user group. Besides, psoting feedback in the rating on Google Play is a) lame and b) does not help the devs
Q: Is there a help?
A: No, this app should be self explaining so if you find something unclear please report it as a bug, I'll take care of it.
Q: Why does BWOF disable after a reboot?
A: Certain devices / Android versions seem to have a different handling of turning Wifi off when rebooting, making BWOF believe that Wifi was turned off by user. I have no way of finding out what devices are affected and how to fix this. A workaround is to not enable "Disable when user turns Wifi off".
Thanks, will give it a try.
Wow, chamonix does it again. You are awesome. Can't wait to see how this works!
Hi Chamonix,
Thank you for another useful creation. :thumbup:
Please can you advise what would happen if wifi is off but mobile data (use packet data) is enabled and an app woke up the device requiring network access? I guess what I am hinting at: will it be possible for this app to disable mobile data as well?
Sent from my GT-I9100 using xda premium
Awesome.
What you think a option to have WiFi_lock with the WiFi on? Many ppl have issues to transfer files via WiFi and speed go down if display turn off, with this added in you app we can control WiFi all in same place.
Ty.
RovG said:
Hi Chamonix,
Thank you for another useful creation. :thumbup:
Please can you advise what would happen if wifi is off but mobile data (use packet data) is enabled and an app woke up the device requiring network access? I guess what I am hinting at: will it be possible for this app to disable mobile data as well?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Possible yes but this will never happen!
A) because this app manages wifi and
B) this would cause more drain than anything else as the app would cause partial wakelocks and maybe even wakeups
If you don't want apps to use data select those that have proper settings / implementations
Well, for the cell based locations, i would suggest to do it based on cell id rather than location provided by network.
Once that is done, this would help me a lot.
Looks great! I'm about to try.
suku_patel_22 said:
Well, for the cell based locations, i would suggest to do it based on cell id rather than location provided by network.
Once that is done, this would help me a lot.
Click to expand...
Click to collapse
That's what I meant. I have some old code doing this I 'just' have to integrate
Hi Chamonix,
How should "Keep WiFi on during sleep" under advanced WiFi settings be set for this app?
Ive experienced WiFi not switching on; on screen on & unlock and just want to be sure its not an idiot user problem before providing feedback.
Sent from my GT-I9100 using xda premium
This should be on Play Store :victory:
RovG said:
Hi Chamonix,
How should "Keep WiFi on during sleep" under advanced WiFi settings be set for this app?
Ive experienced WiFi not switching on; on screen on & unlock and just want to be sure its not an idiot user problem before providing feedback.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
It doesn't matter what the wifi sleep policy is. What you could check:
- is the service running
- one of the prefs 'screen on' or 'unlock' should be set
- does the event Log on the main screen of the app say something?
- if possible attach a logcat
I will for my side check if there are conditions where the service would not start
Zer0w said:
This should on Play Store :victory:
Click to expand...
Click to collapse
It will when the time is right: see the faq
Brilliant app this. Replaces 2 different apps I had doing the same job.
Only issue is the same one I have encountered with all Wifi control apps. The Wifi status/notification icon stops animating or showing signal strength.
Wondered if this was specific to my stock Galaxy SII on ICS (Touchwiz launcher on 4.0.3)
Sent from my GT-I9100
LemmingUK said:
...
Only issue is the same one I have encountered with all Wifi control apps. The Wifi status/notification icon stops animating or showing signal strength.
...
Click to expand...
Click to collapse
I have observed this behaviour too but it is inconsistent. i.e. sometimes it works & sometimes it doesn't. Still gathering data.
Sent from my GT-I9100 using xda premium
LemmingUK said:
Brilliant app this. Replaces 2 different apps I had doing the same job.
Only issue is the same one I have encountered with all Wifi control apps. The Wifi status/notification icon stops animating or showing signal strength.
Wondered if this was specific to my stock Galaxy SII on ICS (Touchwiz launcher on 4.0.3)
Sent from my GT-I9100
Click to expand...
Click to collapse
Interesting. I have not been able to observe that. Does it only affect the notification icon or also the connection itself?
A logcat and dmesg would interesting to compare the two behaviors.
chamonix said:
Interesting. I have not been able to observe that. Does it only affect the notification icon or also the connection itself?
A logcat and dmesg would interesting to compare the two behaviors.
Click to expand...
Click to collapse
Its happening to me as well running the blu kuban rom
Sent from my ET4G rockin' The Blu Kuban
chamonix said:
Interesting. I have not been able to observe that. Does it only affect the notification icon or also the connection itself?
A logcat and dmesg would interesting to compare the two behaviors.
Click to expand...
Click to collapse
Only the icon itself. Sometimes left with whatever icon was present at wifi connect (eg 3G/H/H+) but after a short while reverts to a wifi icon but without animation, then afer a while seems to start animating.
PC tech but Android newbie here so off to hunt down how to generate the requested items.
Edit: Error in WifiStateMachine of "Failed to set country code GB" is all I can see as an obvious error. Now to extract the log...
Sent from my GT-I9100
Related
I've made a java application to take "any" flashable ROM zip and resign the zip and inject Toggle2G into it. Check the downloads for ResignUpdate.zip. Check the readme-first.txt in the zip for more information. Works with Windows/OSX/Linux with java installed
Here is a little app I've started working on that enables the 2G Only setting automatically when the phone is asleep to save battery.
As always with these kinds of things, I am not responsible if something goes wrong, so use at your own risk.
Working on Android versions since 2.1. I'm using it on my Nexus 4.
Installation:
The flashable Toggle2G-Update.zip is designed to work with CyanogenMod based ROMs. There is no need to resign any CyanogenMod ROMs.
The easiest way to see if Toggle2G works on your ROM is flash the Toggle2G-Update.zip from the recovery. If your ROM is compatible, Toggle2G will show up in your app drawer.
ONLY IF THAT DOES NOT WORK, then you can try the ResignUpdate java application to convert your ROM. ROMs must be in zip form and be flashable through a recovery like CWM or TWRP. Download the ResignUpdate.zip and read the included readme-first.txt file. Once you resigned your ROM, you then wipe and flash the resigned ROM.
See the troubleshooting section below if you have trouble.
ResignUpdate Change Log:
v3.0.1 - Don't close out of the GUI on certain errors
v3.0.0 - Automatic SecPhone.apk and SecSettings.apk detection | Running ResignUpdate.bat/sh without any parameters pops up a GUI so you can pick the ROM.zip file (Should help with path issues). You can still use the command line options if you want and it will bypass the GUI.
v2.1.3 - Update Toggle2G.apk to v0.2.0.
v2.1.2 - Overrides ROM's Toggle2G.apk when injecting.
v2.1.1 - Bug fix during Toggle2G.apk injection.
v2.1.0 - ZipAlign resigned files.
v2.0.4 - It seems keys need to be physical files..fixed
v2.0.3 - Don't fail on unreadable apks. Sign resigned zip. Move injection files into ResignUpdate.jar so no path issues.
v2.0.2 - Better detection of RSA file in an APK. Some additional optional parameters to help with any fringe cases that might come up
v2.0.1 - Don't change apk's storage method when processing it
v2.0.0 - Initial Release
Toggle 2G Change Log:
Always reboot after an update!
v0.3.5 Added option to always switch to 3G. This is if you want 3G except when on wifi or data off or low battery. / Fixed Spanish translation crashing Toggle 2G. / Start to refer to networks as fast/slow. This is because users might want to toggle from LTE to 3G.
v0.3.4 Fixed bug that was switching back to 3G
v0.3.3 Enable data in auto swich mode will reactive 3G
v0.3.2 Fix retry of network change when data off setting is used
v0.3.1 Fix bug when toggling data that was preventing the Manual Notifications from working.
v0.3.0 Added LTE networks and removed the need for ROOT (You will need to re-setup Toggle2G after upgrade)
v0.2.4 New icons from LeopardSurd. Show version number at top of Toggle 2G settings screen.
v0.2.3 Try for 5 seconds to get network to switch after data turning off data. I hope this helps with switching on phone like the Galaxy S II; German translation thanks to Aiakio; Italian translation thanks to krinet
v0.2.2 Fixed bug where sometimes network would switch to the same network causing data to disable then enable
v0.2.1 Fix some issues with not switching.
v0.2.0 Option to wait for phone unlock before switching to 3G; Option to turn data off to switch networks; Option to switch to 2g when data is off; French translation thanks to mooondark
v0.0.20 Set SDK to v8 to fix compatibility with CM6
v0.0.19 Updated German using the translation from Aiakio.
v0.0.18 Added translations by muchopoli83. (Danish, German, Spanish, French, Hungarian, Italian, Portuguese, Russian, and Chinese)
v0.0.17 Tweaked chmod on preferences folder
v0.0.16 Switch to 2g when data is disabled. Better fix for bug where settings are not surviving a reboot.
v0.0.15 Fix bug where settings are not surviving a reboot (I hope). New icon from hawkeyexp, thanks!v0.0.14 2G when sleep on/off option, 2G Notification fixes/options, Options reworked
v0.0.13 Option to not switch to 2G if network is being used. Default threshold of 2 KBps means 2G will not enable if >= 2 KBps is being used. Threshold is configurable in settings
v0.0.12 You can pick a specific network through the Tasker/Local plug-in (not just 2G or 3G) / Battery feature can be turned off / Disable options only applicable to auto manage when its off
v0.0.11 Delay switching to 2G when wifi is turned on to prevent network outage during transition. Also added option to off the feature that switches to 2G when using wifi.
v0.0.10 Fix bug that was not changing auto manage
v0.0.8 Customizable network selections for 2G and 3G modes.
v0.0.7 Added home widget. The Toggle 2G plug-in app is needed to use the widget.
v0.0.6 Option to allow user to choose when to switch back to 3G using the notification bar. Requires a separate plug-in app attached here or from the market
v0.0.5 more fixes to try and prevent switching when phone rings and phone wakes up
v0.0.3 fix issues with disconnecting incoming call
v0.0.2 adds Tasker/Locale plugin support!
Automatic Mode Features:
Switch to 2G when wifi is connected.
Switch to 2G when data is turned off.
If screen is off for more that 10 minutes (configurable in the app) it will switch to 2G
If screen is off and battery is below 30% (configurable in the app) it will switch to 2G
Network usage monitoring to prevent switching to 2G if network is being used.
3G can be re-enabled as soon as the screen is turned on or unlocked or it can be done manually
Option to Disable data before switching network. (Required on some phones/ROMs)
Option for manual switching back to 3G. This setting allows user to choose when to switch back to 3G by selecting a notification in the notification bar. Requires separate app located on market or use link below
Notes:
Runs in the com.android.phone process to gain access to the 2G Only setting.
Shares process with system so installing will list pretty much all of the permissions
Uses root access to save preferences, seems running in the com.android.phone process can causes some problems with creating a preferences folder to hold the preferences file. Root access is needed to save preferences. I have a new system for saving preferences that does not need root. However, as a backup, if Toggle2G fails to use the new system it will fall back to this old system and use Root, (I didn't want to break it for phones I can't test on)
Does not change network while in a call. Otherwise the call will drop because the radio resets. (Even if Tasker/Locale tells it to)
Changing network can be slow. You may have to wait a second for 3G to reactivate. I suggest using the manual switch to 3G option and plugin if this is the case.
Due to issues with how Toggle 2G uses a shared user id, I've implemented the notifications and home widget under a separate app.
3 settings for the Tasker/Locale plugin and home screen widget. Automatic, 2G , or 3G (Setting 2G or 3G disables auto mode)
ToDo:
Don't switch to 2g while tethering
disable the 3g when the reception is between ___ and ___ to keep it from flip-flopping. (Can't be done, you can't monitor 3G reception levels while in 2G)
Use g sensors to detect movement and reactivate 3G to lower radio down time after unlocking phone (Monitoring these sensors would drain battery and defeat the purpose)
If you think of a feature or find a bug, let me know.
Also, I've attached a values.zip file so that everyone can contribute to translating Toggle2G to other languages.
I'm a code junkie, please support my habit
SOURCE CODE IS AVAILABLE HERE:
Toggle 2G Source
Toggle 2G Plugin Source
TROUBLESHOOTING
* Make sure you have Java 6 or higher installed
* I get an "Failed to find any apk with a key" error when signing my ROM
If you get this error it means that ResignUpdate tool could not find one of these files in the ROM's zip file:
system/app/phone.apk
system/app/settings.apk
system/app/SecPhone.apk
system/app/SecSettings.apk
At lease one of these files is needed to identify what in the ROM needs to be resigned. You can open the ROM's zip file and try and find where one of these files are. If you find it in a folder other than system/app you can specify one of these files in the -keyapk parameter when running ResignRom. For example, if you find that the SecPhone.apk is actually in the preload/symlink/system/app folder, then put preload/symlink/system/app/SecPhone.apk in the -keyapk parameter.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cheers!
Master Baron
Follow me
TheMasterBaron said:
OK, so here is a little app I've started working on that enables the 2G Only setting automatically when the phone is asleep to save battery. It's not polished at this point, just trying out the features and come up with more to add.
** REQUIRES CyanogenMod 6 **
Notes:
Signed using the CM6 platform.x509.pem so not sure what other ROMs it will work with.
Runs in the com.android.phone process to gain access to the 2G Only setting.
Uses root access to save preferences, seems running in the com.android.phone process can causes some problems with creating a preferences folder to hold the preferences file. Root access does a mkdir to make the preferences folder and that is all.
Does not change the 2G Only flag while in a call. Otherwise the call will drop because the radio resets
Changing the 2G Only flag can be slow. You may have to wait a second for 3G when turning the screen on after it has switched to 2G while the phone was asleep
Features:
It doesn't bother switching to 2G if phone is plugged in
It doesn't bother switching to 2G until wifi disconnects
If screen is off for more that 10 minutes, it will enable 2G Only setting
If screen is off and battery is below 30% (configurable in the app) enable 2G Only setting
3G is re-enabled as soon as the screen is turned on unless battery is below configured percentage
Install the apk then reboot the phone.
After reboot, run the Toggle2G app to enable the service and configure the low battery %
ToDo:
Widget to switch between Auto, 3G and 2G.
If you think of a feature or find a bug, let me know.
Enjoy!
Master Baron
Click to expand...
Click to collapse
This could be awesome!!! I think this should probably go in the themes and apps section though. Thank you for this. I will test it out now.
It doesn't bother switching to 2G until wifi disconnects
Click to expand...
Click to collapse
I think i read this wrong, you mean it switches to 2G once wifi is connected?
bimmerd00d said:
I think i read this wrong, you mean it switches to 2G once wifi is connected?
Click to expand...
Click to collapse
That would be good if its this case..
Testing now anyway. Will let you know if it works. Widget would be awesome to switch from 2g to 3g to auto
I agree, a widget would be amazing! Also a adjustable timer for when the screen goes off.
Sweet! Something I've dreamed about
Locale plugin would be utterly awesome. If i could make this thing autoset 2G when i go to bed or whatever other conditions i choose, that'd make this thing complete.
piggie916 said:
I agree, a widget would be amazing! Also a adjustable timer for when the screen goes off.
Click to expand...
Click to collapse
Yea adjustable timer should be implemented. 10 minutes takes to long to test
bimmerd00d said:
I think i read this wrong, you mean it switches to 2G once wifi is connected?
Click to expand...
Click to collapse
Unless I'm wrong, it doesn't appear that the 2G/3G radio is on when wifi is on, so it doesn't bother switching it from 3G to 2G because it resets the radio and I didn't want it to do that if it didn't matter. So basically, when wifi is on and connected, it never switches to 2G when the phone is asleep until wifi finally disconnects.
Adjustable timer is next and the Locale plugin is a great idea.
hmm this could be a very useful app 10 minutes is a while to wait and see if it works
TheMasterBaron said:
Unless I'm wrong, it doesn't appear that the 2G/3G radio is on when wifi is on, so it doesn't bother switching it from 3G to 2G because it resets the radio and I didn't want it to do that if it didn't matter. So basically, when wifi is on and connected, it never switches to 2G when the phone is asleep until wifi finally disconnects.
Adjustable timer is next and the Locale plugin is a great idea.
Click to expand...
Click to collapse
Well I leave my wifi on all the time (when im at home or watever), I guess thats where the widget to set 2g would come in handy
TheMasterBaron said:
Unless I'm wrong, it doesn't appear that the 2G/3G radio is on when wifi is on, so it doesn't bother switching it from 3G to 2G because it resets the radio and I didn't want it to do that if it didn't matter. So basically, when wifi is on and connected, it never switches to 2G when the phone is asleep until wifi finally disconnects.
Adjustable timer is next and the Locale plugin is a great idea.
Click to expand...
Click to collapse
Actually i think it is in fact doing that. I opened up the "Network" app and noticed that if i enable wifi, GPRS service goes to disconnected so you may be right after all.
using it! =]
weird...is there no link?
mad_vtak said:
weird...is there no link?
Click to expand...
Click to collapse
Sorry, didn't realize that I removed it. I've uploaded a new version that has a configurable time and an option to still enable 2G when the phone is powered (Allows me to debug with the USB cable plugged in)
It would be awesome if you could add a db value threshold as well.
BTW, I'm convinced this same method is used on iphone 4 to get the battery life it does.
cool, will this be open sourced ?
OK, I've updated on more time.
Fixed a bug where sometimes the service wasn't getting any CPU so it wouldn't set to 2G in a timely manner. Should be responsive now. Note that setting to 1 minute could mean it can take 1 minute 59 seconds to switch to 2G
velazcod said:
cool, will this be open sourced ?
Click to expand...
Click to collapse
Once I get it cleaned up I may do just that.
JCopernicus said:
It would be awesome if you could add a db value threshold as well.
Click to expand...
Click to collapse
Can you elaborate on what you mean by db value threshold?
TheMasterBaron said:
Once I get it cleaned up I may do just that.
Can you elaborate on what you mean by db value threshold?
Click to expand...
Click to collapse
In a low reception area the phone tends to switch back and forth between 3g/2g. I think somewhere around 104.
So basically disable the 3g when the reception is between ___ and ___.
Suggestions or questions are welcome!
Description:
Here is a simple-ish script I wrote to manage data flow on my phone. Mobile data on/off is easy enough but what most users have a hard time pulling off is when to toggle wifi on and off with minimal consumption. Using local tower states is pretty common but it's inaccurate and slow; additionally my method uses less battery life.
Room for improvement:
The only thing I would like to do in order to improve this is to have the script not disable data when downloading or streaming. This is possible but is unique per device per ROM so I can't really go into detail about how to do it. As a summary though there's a file that is written to that keeps information about bytes traffic. You just read this file to determine how much data is flowing in a specific interval and if it exceeds a certain amount then don't turn off data just yet. It's also a known issue where with some devices the 3G state change won't register when toggling manually while connected to wifi.
Features:
Wifi and 3G will disable two minutes after the screen is off so it's not constantly toggled through intermittent use.
On some phones or providers the 3G status becomes unknown when in a call or when connected to wifi; this script works around that.
Unlike most data management apps this one will remember your 3G status should you manually change it, in case you don't want 3G on at all.
Data is still checked on an hourly basis(this can be adjusted of course).
Fast and accurate wifi connecting with very minimal power drain.
Just a few things explained for those curious:
I check the phone state to ensure that 3G isn't detected as manually disabled when your provider uses 3G to place calls.
I check the screen on time because on some phones/ROMs the 3G doesn't actually register as toggled until the screen flickers back on. Because of this 3G appears to only become disabled once the screen turns back on and it can be registered as manually turning it off.
The wifi timer exist so the script won't check for a wifi too frequently.
You can adjust the hourly checks under Cycle 3G.
What version of Tasker is this developed under? Just curious, I'm running the 4.0 beta, and I just had to back out of b19 to b18 because of issues with my data management profile. I'll try yours out, it sounds a lot better than mine...
Can't seem to get this to work...tasker wont recognize the file
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
It's working great for me on 4.0b18. I still need to look at the logic being used as to what causes it to 'wake up' and connect to wireless, is it simply a delay after screen on, or are you also looking at other factors?
Tasker 1.3.3u2
My friend had problems getting his to recognize the profile as well. I'm not sure why.. It might have to be in the proper directory. You might also have to make a new profile tab for it. Hopefully rpr69 can give us some insight.
But to answer your question as to how I check Wifi...
When screen turns on I immediately try to connect to Wifi before trying 3g. 3g will still enable briefly after for phones that require it for MMS. If Wifi isn't connected after X seconds then it disables Wifi and won't try again for 10 minutes. If it does connect successfully there will be no 10 minute wait next screen on.
Added manual toggle memory to Wifi as well. I'll post the changes later and update the zip file.
Are you importing the profile, or just dropping it in a directory? The proper way is to import into a new project. In 1.3 of Tasker (from memory, it's been awhile), you need to pull down from the top of the Tasker top bar which should then give you the Projects tabs. Long press on the Home tab, and you should get an 'import' option, navigate to where you downloaded the project file on your phone and select it, and it should create a new tab for it, with the profile and tasks under it. If you had previously just manually copied the xml file into the projects directory, move it out of there or the import may fail.
Looking forward to the update!
Ok got it to work I forgot is was a project and kept trying to import only a profile. It seems great so far!!!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
To make it so it won't check wifi when you don't want it to add the following...
ProfileName - Record Wifi State
Trigger - State > Wifi Connected *
Enter Task - Set Variable %wifistate to 1 if screen ~ on
Exit Task - STOP If %ScreenOnTime + 2 > %UPS
......Set Variable %wifistate to 0 if screen ~ on
then under task "Data Types On - Type 2 P2"
very first line add - If Then > %wifistate = 1
Place a closing End If at the very bottom, and move the "Mobile Data > Set On (if %3GState = 1)" second from the bottom, just above closing.
I also just uploaded the xml file again to the main post.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is is for those people who face connectivity issues with their 2G, 3G, 4G LTE, 5G data or WiFI connection.
It can address disconnection and other common connectivity issues.
Loaded with lots of powerful features, this app delivers a stable mobile internet connectivity.
★★★ Active Reconnect ★★★
Does your device often lose data signal and is unable to reconnect even though network is available? Do you miss out important chats, IMs and emails until you turn data connection on and off, maybe multiple times to get reconnected? That is a known issue that affects many people. It can be caused by handset or carrier issues.
Active Reconnect automatically reconnects your 2G GPRS, 3G, 4G LTE or 5G internet connection as soon as it gets disconnected and thus keeps the data connection active at all times.
When activated, this feature actively monitors and immediately re-establishes dropped connections, using muscle if required. This is particularly useful if android's built in system fails to connect you to the network. The monitoring process does not cause any load on your device's resources as it is intelligently invoked only when required.
★★★ Active Keep Alive ★★★
Does your wireless carrier disconnects your 2G, 3G, 4G or 5G data connection after a certain period of inactivity? Or is there no data transfer even when connection is live?
Active Keep Alive along with Reset on Failure keeps your connection alive in such cases and also helps in keeping the traffic flowing between your phone and your ISP's servers. It also optimizes TCP/IP parameters if required to give you the best possible internet experience. The network assigns a higher priority to your device and this results in significant improvement in network performance, especially if resources on the network are under strain.
★★★ Force Connect ★★★
Uses tricks and tweaks to establish internet connection and attains connectivity even on congested networks.
Highly customizable and elegant design with animations, transparency, bells, gongs and whistles to deliver best user experience.
This app can fix 2G, 3G, 4G and 5G internet connection problems on service providers like T-Mobile, Verizon, Boost, Vodafone, Airtel, Jio, Telkomsel and any other troublesome carrier!
USAGE INSTRUCTIONS:
→ If you are experiencing difficulty in establishing connection to the internet over the mobile network, just press the Force Connect button on the dashboard to try forcing the connection for once.
→ If you are facing automatic disconnection problem then activate the Active Reconnect module. It will automatically detect connection drops and actively reconnect the connection, using force connect if required.
→ If your carrier disconnects you from the network following a particular period of inactivity, activate the Active Keep Alive module. You can adjust the ping interval from the Active Keep Alive settings to be just lower than your network's inactivity timeout period.
→ If you are facing any other problem with you connection, like no data being transmitted even when connected, you can just activate the Active Keep Alive with default settings. Its pinging action is known to work wonders and solve or reduce the intensity of many congestion related network issues. It can also detect and reset frozen connections.
☆ If you are facing any unique connectivity issues or have suggestion for us, we are all ears. Just drop us an email.
IMPORTANT INFORMATION:
→ When Active Reconnect is enabled, you cannot turn off the mobile data connection directly from your device.
To disconnect, press the data setting ON OFF button on the app's dashboard or deactivate Active Reconnect before turning off mobile data from android settings.
Reset on failure is useful for those situations wherein data transmission stops but the connection still exists. It resets the connection to restore normal operation. This feature is embedded with the Keep Alive module and can be turned on or off using the respective setting.
Update Available: Version 3.0.3 April 28, 2022
☆ Upgraded UI and core functionality.
☆ Stability and performance upgrades.
☆ More theme options.
☆ Upgraded purchase experience.
☆ Alternative method for enabling Active Reconnect for non-root users.
☆ Added French translation.
Minimum android version supported is now Android 5.0.
<Details of all versions not added here.>
Version 2.4.3 Jan 2, 2019
☆ Bug fixes
☆ Support for Android 9 Pie.
☆ Added Indonesian translation.
Minimum android version supported is now Android 4.0.
Version 2.2.0 April 19, 2017
☆ New Features:
☛ WIDGETS!- Pro Version users get access to widgets for Active Keep Alive, Active Reconnect and Force Connect
☛ New improved algorithms with faster and better reconnection capability
☆ Numerous bug fixes
☆ Multiple enhancements for performance, speed and stability
☆ Better support for newer android versions
☆ You can refresh all radios using force connect if Refresh Radio is enabled in Active Reconnect settings
☆ Active Keep Alive notification is hidden from lock screen
Version 2.0.1 April 1, 2015
☆ New Features:
☛ Refresh Radio - Refresh the cell radio to restore data connection. On lollipop (root), this will toggle the airplane mode.
☛ Reset Radio - Reset the radio when resetting stalled connection
☆ Minimum wait time for Active Reconnect decreased to 6 secs
☆ Bug fixes and enhancements
Version 1.9.4 March 4, 2015
☆ Full support for Android 5 (lollipop)
☆ Bug fixes & enhancements
Version 1.9.0 Feb 6, 2015
☆ Bug fixes
☆ Ad-free option
☆ Smart ping
☆ Numerous enhancements
Version 1.8.1 Dec 16, 2014
☆ Fixed crash at launch on some devices
v1.8.0
☆ Numerous bug fixes and enhancements
☆ Added Russian translation
☆ Added alternate ping mechanism
☆ Improved performance and intelligence
v1.5.0
☆ Power saver mode - sleep when screen is off
☆ More informative notification icons
☆ Customizable reconnection wait intervals
☆ Added German translation
☆ Numerous bug fixes and enhancements[/B]
v1.2.1
☆ Reset on failure - automatically resets stalled connection
☆ Enhanced boost engine
☆ Redesigned UI - more intuitive and smooth
☆ Reduced memory footprint
☆ Improved help and support
☆ Bug fixes
Special thanks to Mokkami for German translation. If you want to help in translating to your language, please contact me.
Reserved
Nice App Thanks You!
david6910 said:
Nice App Thanks You!
Click to expand...
Click to collapse
Welcome
I'm experiencing some weird problems with my provider (vodafone) in my nearby local town (germany). My smartphone has excellent reception (H+, I don't use 4G/LTE) but just doesn't send data through it. It works fine for like 30 seconds, then does absolutely nothing for 2-30 minutes. Really terrible, since my spotify premium becomes useless there.
Back to topic: Your app sounds great. The UI is a bit laggy but if it works... who cares? I'll leave home in some hours and then test the functionality. Hopefully this helps. Gonna report on later.
I live very close to a very large airport and a busy freeway. So there no cell towers nearby and I assume the large amount mobile users in the highway use a lot of the closest towers capabilities. I routinely see my signal drop to 2g, with sporadic instances o 4g and 4g lte. I've been using this app for 2 days now and have yet to see less than 4g (minimal amount of video streaming buffering). So, this app's getting a thumbs up so far. Good job. I'll continue to monitor and post any changes or observations.
Sent from my HTC One using xda app-developers app
tbvnz said:
I live very close to a very large airport and a busy freeway. So there no cell towers nearby and I assume the large amount mobile users in the highway use a lot of the closest towers capabilities. I routinely see my signal drop to 2g, with sporadic instances o 4g and 4g lte. I've been using this app for 2 days now and have yet to see less than 4g (minimal amount of video streaming buffering). So, this app's getting a thumbs up so far. Good job. I'll continue to monitor and post any changes or observations.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Happy to hear that.
This app was made keeping situations like that in mind. And it has passed the tests so far...
rkhighlight said:
I'm experiencing some weird problems with my provider (vodafone) in my nearby local town (germany). My smartphone has excellent reception (H+, I don't use 4G/LTE) but just doesn't send data through it. It works fine for like 30 seconds, then does absolutely nothing for 2-30 minutes. Really terrible, since my spotify premium becomes useless there.
Back to topic: Your app sounds great. The UI is a bit laggy but if it works... who cares? I'll leave home in some hours and then test the functionality. Hopefully this helps. Gonna report on later.
Click to expand...
Click to collapse
Your problem seems to be quite unique. Some similar problems have been solved by this app but lets see what happens in your case. It depends on the specific cause and the respective hack/trick.
Try to give as much information about it as possible.
An update is on its way to address specifically this variety of problem, thanks to the inputs from users having similar problems.
So, even if it doesn't work for you now, after update it will, hopefully.
And for the UI, try turning off transparency if you're getting the lag feeling.
Update will be rolled out this week.
Keep sending your valuable feedback...
ms.goofy said:
Update will be rolled out this week.
Keep sending your valuable feedback...
Click to expand...
Click to collapse
Perhaps allow the user to choose what ip/site to ping for the keep alive? It could then both be used as a keep alive AND possibly send an alert if a site is offline or at lease the notification might alert them.
I'd also appreciate a method of having it start with both the connection stabalizing AND the ping enabled either via settings or by tracking state of last time it was ran?
Update available
UPDATE IS NOW AVAILABLE.
Change log:
Reset on failure - automatically resets stalled connection
[*]Enhanced boost engine
[*]Redesigned UI - more intuitive and smooth
[*]Reduced memory footprint
[*]Improved help and support
[*]Bug fixes
Reset on failure is useful for those situations wherein data transmission stops but the connection still exists. It resets the connection to restore normal operation. This feature is embedded with the Keep Alive module and can be turned on or off using the respective setting.
rkhighlight said:
I'm experiencing some weird problems with my provider (vodafone) in my nearby local town (germany). My smartphone has excellent reception (H+, I don't use 4G/LTE) but just doesn't send data through it. It works fine for like 30 seconds, then does absolutely nothing for 2-30 minutes. Really terrible, since my spotify premium becomes useless there.
Back to topic: Your app sounds great. The UI is a bit laggy but if it works... who cares? I'll leave home in some hours and then test the functionality. Hopefully this helps. Gonna report on later.
Click to expand...
Click to collapse
Try the update. It specifically address this issue.
famewolf said:
Perhaps allow the user to choose what ip/site to ping for the keep alive? It could then both be used as a keep alive AND possibly send an alert if a site is offline or at lease the notification might alert them.
I'd also appreciate a method of having it start with both the connection stabalizing AND the ping enabled either via settings or by tracking state of last time it was ran?
Click to expand...
Click to collapse
Thank you for your suggestions. Ping ip is calculated not just to keep the connection alive but also provide a boost when network is congested. An option can be added to periodically monitor a particular site/ip along with the existing mechanism. It can then log or notify you when your site is offline. But this will be serve a completely different purpose of monitoring downtime of a site. I guess this is something most people don't need but yes, it can be added in the some future version just as an auxiliary function.
Option to automatically activate and stop everything with one touch is something that will be present in the next version. A setting to automatically start both the modules when the app is launched may also be added as per your suggestion. And I could not understand what you meant by starting both modules based by tracking last time it was run, please elaborate it.
ms.goofy said:
Thank you for your suggestions. Ping ip is calculated not just to keep the connection alive but also provide a boost when network is congested. An option can be added to periodically monitor a particular site/ip along with the existing mechanism. It can then log or notify you when your site is offline. But this will be serve a completely different purpose of monitoring downtime of a site. I guess this is something most people don't need but yes, it can be added in the some future version just as an auxiliary function.
Option to automatically activate and stop everything with one touch is something that will be present in the next version. A setting to automatically start both the modules when the app is launched may also be added as per your suggestion. And I could not understand what you meant by starting both modules based by tracking last time it was run, please elaborate it.
Click to expand...
Click to collapse
the tracking last time it was ran part was meant as an alternative to having switches in settings....the app could see what was enabled or disabled, save that state and restart the same way. I have the phone tethered and am using your app to keep the connection...I have notifications being mirrored to my desktop but had to disable the notifications for your app because it was popping up every 5 seconds or so with the ping message. Can we have a way to disable the "last ping" message but still get messages for connection dropped/re-established?
famewolf said:
the tracking last time it was ran part was meant as an alternative to having switches in settings....the app could see what was enabled or disabled, save that state and restart the same way. I have the phone tethered and am using your app to keep the connection...I have notifications being mirrored to my desktop but had to disable the notifications for your app because it was popping up every 5 seconds or so with the ping message. Can we have a way to disable the "last ping" message but still get messages for connection dropped/re-established?
Click to expand...
Click to collapse
Have you updated to the latest version? Reset all settings after update. It wont show last ping notifications by default but will notify you regarding drops/reconnections.
Providing an option to save the state and resume later is a good idea. It can be implemented in the next version. Thank you.
Unfortunately still didn't help to stabilize my connection. But I think it's carrier related.
rkhighlight said:
Unfortunately still didn't help to stabilize my connection. But I think it's carrier related.
Click to expand...
Click to collapse
Maybe your problem has its roots somewhere else... But it can be made better if we can understand the cause.
When your connection freezes, does disconnecting and reconnecting manually help? Does switching airplane mode on and off helps?
Answer these two questions so that I can understand the nature and gravity of the problem. Thank you.
A minor update is available.
v1.2.2
- Fixed a bug that was causing crashes on a few devices.
- Few changes in UI
Is anybody still getting crashes? Please report.
update will be available soon
This thread is the continuation of this other: http://forum.xda-developers.com/showthread.php?t=2734122, that I've closed due the app has totally renewed and the working algorithm has been totally updated.
INTRODUCTION
The Wifi consumes a lot of battery, this is a really, and the main consumption occurs while the system is looking for a network to connect (which happens when we are not connected to a wifi network).
This app attempts to minimize the battery consumption, and does so in a very simple way: turning off the wifi, which translates into a real battery saver.
So, when it detects that the device has been disconnected from a wireless network, and after waiting a reasonable time (configurable), the hardware wifi going to off.
In order to set wifi state the app monitorizes the cell tower in which your device is connected and classifies it statistically the possibility of establishing a wifi connection, enabling or disabling the wifi attending to this possibility.
The app classifies the cell towers in four colors: green, yellow, red and black.
A green cell tower is a tower in which range exists a wifi network at which you have connected recently.
A yellow cell tower is a tower in which range do not exists a wifi network in which you have connected recently, but you have entered in their range rarely.
A red cell tower is a yellow tower visited some times or a green cell at which you have connected some times without establish a wifi connection.
A black cell tower is a red tower visited often.
The app updates the cell tower color at runtime when you enter/exit from a cell tower.
The application also allows you to add notifications in the status bar, view the history of connections (PRO version), auto disable while airplane mode active, etc.
DOWNLOAD
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Play store link: https://play.google.com/store/apps/details?id=com.ryosoftware.wirelessmanager
XDA GIFT
People from XDA can use the app PRO features without pay via a PROMO code (this PROMO code allows to access all PRO features but shows Ads).
In order to redeem it do this:
1) Enter app
2) Open app settings
3) Go the page down and click (7 times) in the last preference (the preference that shows the app version) [the key only works for version 1.2.16 and higher]
4) In the dialog enter the key above (none of your accounts are shared or sent to our servers)
5) Press "accept" button
Code:
Code:
dYjVJoq6WBdVE5/GMbHH9RCOquNbFC6sbfAxvECOi0x5SQg2TLXgZi2n63t5sqT8P7AWYT5g1984lyrtwuIQHx1zvgwazm6Z3QKqFqMZSkL/LbbNqJbvkxXNmwk20tRSh8vgWkT1dfiJ3SgyF4qn3GkpWrg8sM1zTOX6LJ0CMw0=
If you use the key provided above, please consider to click in the Ads sometimes or buy the PRO version (via In App purchase) in order to access to some future functionalities (and remove annoying Ads).
GENERAL INFO
INTRODUCTION
Wifi hardware is responsible for much of the battery consumed by modern smartphones.
When wifi is on and there are no active connections, system periodically scans the spectrum looking for a network to connect, which increases consumption.
With this application you can stop worrying about whether you have activated wifi when get home or office or if you have deactivated it when leave off, as the application itself will do it for you.
Some applications allows you to enable or disable wifi depending on your GPS location, it consumes more resources than the wifi itself.
This app, however, uses telephone network to establish its position, which becomes a real and perceptible consumption savings.
CELL TYPES
When your device connects to a phone cell, it search in the app databases for previous connections to the same cell, and assigns a color depending on it.
A cell can pass (dinamically) by the following colors:
NEW
The first time that you connect to a cell.
When you enter in a new cell the app enables the wifi hardware (you can set the time until the activation) and disables after a while (you can also set this time) if no connection established.
GREEN
A wifi connection has been established in the past while your device was connected to the cell.
When you enter in a new cell the app enables the wifi hardware (you can set the time until the activation) and disables after a while (you can also set this time) if no connection established.
YELLOW
A wifi connection has not been established in the past while your device was connected to the cell.
When you enter in a new cell the app enables the wifi hardware (you can set the time until the activation) and disables after a while (you can also set this time) if no connection established.
RED
When is not possible to connect to a wifi network repeatedly (configurable number of times) in a green or yellow cell, it becomes red.
When you enter in a new cell the app disables the wifi hardware (you can configure the time until the deactivation).
BLACK
A black cell is a red cell visited often (you can set the number of visits that are needed to convert a red cell into a black cell).
When you enter in a new cell the app disables the wifi hardware (you can configure the time until the deactivation).
HOW IT WORKS
Depending of the current cell type, app enables or disables the wifi hardware, in order to accept connections or save battery.
You can configure the wifi hardware activation time (after which wifi is disabled) and also the wifi reactivation time (if it is a long time in a cell the app restarts the wifi activation cycle).
TRANSITIONS
A new cell becomes yellow or green depending if is abandoned before a wifi connection was established or not.
A green or yellow cells that is visited often without establish a wifi connection becomes red.
A red cell that is visited several times without establish a wifi connection becomes black.
If wifi connection is established in a red or black cell, it turns green.
ADDITIONAL INFO
If device stablish a connection with a cell and wifi is not enabled for a minimum time (configurable) before leave it, the cell will not be considered.
FORCE WIFI ON / OFF
You can configure app to automatically pause background service when you disable manually the wifi, by example by enter in wifi settings then setting off the correspondent switch.
In this case, the background service doesn't really stops and continues to scanning for cells (and converts not green cells into green cells if a wifi connection is established), but the app doesn't manages the wifi state.
In addition, you can configure app to automatically restart background service scheduler when you manually set wifi on.
OTHER SETTINGS
You can configure several items related to cell or wifi events.
Also you can add a notification to the status bar and view the connections history.
FAQ
Is the app using GPS hardware?
No and yes...
Stock app is not using GPS hardware at all (in fact GPS access permision is not required).
Geolocalization module, not installed by default, allows users to geolocalize cells and uses GPS in order to show your position.
Is the app sharing the identifiers of the cells or wifi networks at which I connect?
No and yes...
Stock app is not sharing your position or the cells in which you are connected at all.
Geolocalization module, not installed by default, uses the API provided by OpenCellID.
OpenCellID is the world's largest collaborative community project that collects GPS positions of cell tower.
When we read the OpenCellID database we need to send (anonymously) the identifier of the current cell and your GPS position, in order to contribute with the project.
If you install the geolocalization module you will receive a confirmation dialog before share your data the first time.
What does the red number next to some cells in the main view?
There are the number of times that you have connected with this cell and cannot connect with a wifi network.
When the number reaches the maximum number of connection errors (that is configurable for PRO version), the cell will become red.
What does the blue bar that appears sometimes at left to a cell in the main view?
The blue bar located at the left of a cell in the main view identifies the cell at which you are connected, and is only show when you are connected to a wifi network.
I have configured a new wifi network in my device, but app says that the near cells are red or black and will not turn on the wifi.
If the app marks a cell as red (or black) is because it has not been possible to establish a wifi connection there.
You can force the connection activating the wifi manually.
App will detect the connection and automatically turn on the wifi on these occasions.
Wifi is automatically set to on when I enter in a green cell, even if phone is in airplane mode.
You can configure app to do not manage wifi settings if airplane mode is active.
My phone is not rooted. I can use this app?
Yes
Why are root permissions used?
If provided, root permissions are used to set the <I>supplicant scan interval</I>, that is a system parameter and cannot be modified by normal users.
When wifi is on, system searches for networks from time to time, and that time is specified by the <I>supplicant scan interval</I> parameter.
The app need many permissions. Why?
The permissions we use are needed for:
Get accounts: To validate the PRO key.
Internet: To show Ads (only in free version).
Get and set network and wifi states: To set wifi and mobile data state (is the main goal of the app).
Read and write sdcard: To backup and restore backups.
Receive boot completed: To start the app in boot time, if configured.
Superuser: To update supplicant scan interval if configured.
ADDITIONAL MODULES
GEOLOCALIZATION (optional)
It allows to geolocalize cells.
Geolocalization is based in the OpenCellID Project, that provides geolocalization for cell towers.
In some cases the geolocalization is not accurate, due that it depends from the measures provided by the users.
Play store link: https://play.google.com/store/apps/details?id=com.ryosoftware.wirelessmanager.geolocalization
RANKING (optional)
It allows to use the app like a game.
The goal of the app is to discover cell towers (achievements) and to visit know cell towers (leaderboard).
Play store link: https://play.google.com/store/apps/details?id=com.ryosoftware.wirelessmanager.game
Hi.
Should I uninstall previous version before installing this one (totally rewritten)?
Thanks
joaonuno said:
Hi.
Should I uninstall previous version before installing this one (totally rewritten)?
Thanks
Click to expand...
Click to collapse
No if you are in the previous market version.
If you are in a 2.0 beta version you probably need to remove app data after install new version (or uninstall)
very nice app, good design and very user friendly.:good:
One problem, if you see the list of wifi related events. The time durations are shown in minutes, but when you click each setting it changes to seconds.
Not sure if what I'm saying makes sense, but have a look.
The idea and the app are really nice but the color system is a pain to remember an idea would be, while keeping colors on squares:
Green > Known wifi zone
Yellow > Possible wifi zone
Red > Wifi connection issue
Black > No wifi zone
Personally I would like to be able to configure it so I have only 2 zones ON (Green) OFF (Any other zone)
It says that the code is not valid
Sent from my GT-I9100G using XDA Premium 4 mobile app
Thank you! Great app. Tried the promo code but doesn't seem to be working
Sent from my Nexus 5 using Tapatalk
NexusGTS said:
How to use the promo code ? Where to click ?
Sent from my GT-I9100G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Ditchmond said:
Thank you! Great app. Tried the promo code but doesn't seem to be working
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
People from XDA can use the app PRO features without pay via a PROMO code (this PROMO code allows to access all PRO features but shows Ads).
In order to redeem it do this:
1) Enter app
2) Open app settings
3) Go the page down and click (7 times) in the last preference (the preference that shows the app version) [the key only works for version 1.2.16 and higher]
4) In the dialog enter the key above (none of your accounts are shared or sent to our servers)
5) Press "accept" button
Code:
dYjVJoq6WBdVE5/GMbHH9RCOquNbFC6sbfAxvECOi0x5SQg2TLXgZi2n63t5sqT8P7AWYT5g1984lyrtwuIQHx1zvgwazm6Z3QKqFqMZSkL/LbbNqJbvkxXNmwk20tRSh8vgWkT1dfiJ3SgyF4qn3GkpWrg8sM1zTOX6LJ0CMw0=
^^^^Copy this link and paste in the app ^^^^^^^
worked for me
Nice app. Price is very reasonable. There are some grammar issues in the intro. Other than that I hope it will bring some more juice to my phone.
Hello,
I am using an android device (HTC Desire X) without sim-card, so I have no phone network. With the previous versions of your app I could manage the wifi of this device just fine. With the new version, it seems that the app no longer manages the wifi since there is no cell tower to connect to.
Is there any way to get this working?
thanks in advance
bartito said:
No if you are in the previous market version.
If you are in a 2.0 beta version you probably need to remove app data after install new version (or uninstall)
Click to expand...
Click to collapse
i just installed this on my galaxy note 3 and it locked my phone i had to remove the battery and restart my phone.
I doubt it's the fault of the app
carols said:
i just installed this on my galaxy note 3 and it locked my phone i had to remove the battery and restart my phone.
Click to expand...
Click to collapse
Sorry for the grammar issues. I'm not English.
The app needs to learn about you for some days. After that, I think you can save some battery
New version requires phone capabilities.
I post previous version here, for those that are using in a no phone device.
narjo said:
Hello,
I am using an android device (HTC Desire X) without sim-card, so I have no phone network. With the previous versions of your app I could manage the wifi of this device just fine. With the new version, it seems that the app no longer manages the wifi since there is no cell tower to connect to.
Is there any way to get this working?
thanks in advance
Click to expand...
Click to collapse
VnnAmed said:
Nice app. Price is very reasonable. There are some grammar issues in the intro. Other than that I hope it will bring some more juice to my phone.
Click to expand...
Click to collapse
shaggydiamond said:
very nice app, good design and very user friendly.:good:
One problem, if you see the list of wifi related events. The time durations are shown in minutes, but when you click each setting it changes to seconds.
Not sure if what I'm saying makes sense, but have a look.
Click to expand...
Click to collapse
Just updated in the Play Store.
Really not a work bug, only a typo when printing value duration
Thanks for the report!
bartito said:
New version requires phone capabilities.
I will post previous version here tomorrow, for those that are using in a no phone device.
Click to expand...
Click to collapse
OK, thanks for the answer
bartito said:
I doubt it's the fault of the app
Click to expand...
Click to collapse
so my phone was working perfectly well before i installed this app then my phone locked and i could
not do anything with it so i had to remove the battery and restart my phone.It is not rocket science
to work out that it must be your app as i never had the problem before i installed it.
carols said:
so my phone was working perfectly well before i installed this app then my phone locked and i could
not do anything with it so i had to remove the battery and restart my phone.It is not rocket science
to work out that it must be your app as i never had the problem before i installed it.
Click to expand...
Click to collapse
the most probable is a casual issue.
if not, we have probably discovered a bug of android that allows to lock phones without get security permissions or anything relevant and i need to write google in order to receive my 10.000 USD gift
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
WiFi Saver will manage your WiFi & save your battery, by disabling WiFi when it's not connected to a network, and/or when there is no internet connection, with plenty of features to save your battery via WiFI.
Features :
Basic Saver.
Low Strength Saver .
Lock, to enable Mods in Locked Status .
Specific Auto Connect .
Random Auto Connect .
Airplane Mod (Related To Auto Connect ) .
Enable WiFi When Unlocked .
Disable WiFi When Locked .
Basic Timer, to enable & disable WiFi in specific time .
Specific Auto Connect Timer, enable & disable mod in specific time.
Random Auto Connect Timer, enable & disable mod in specific time.
Custom Delay for All
Show Network Details .
Dark Theme .
Ad-Free.
Note :
If you want to help in translating this app, download the strings.zip, translate between > <.
For More Info,Screenshots, Download, Press the Google Play image :
Check attachments for external mirror, And please .. Do not mirror my files.
To-Be Added :
Custom Delay preference, set a different custom delay for every mod .
Improve the Basic Saver method .
For Bugs/Requests, post them here .
XDA:DevDB Information
WiFi Saver, App for all devices (see above for details)
Contributors
abo hani
Version Information
Status: Testing
Current Stable Version: 1.0
Stable Release Date: 2016-01-01
Created 2016-01-01
Last Updated 2016-01-09
Documentation
*This documentation in English, There's an Arabic version available in my website, ThinkDroid - Press here .
Introduction :
WiFi Saver is an app that control the WiFi, Using this app, you can turn the WiFi and disable it in specific conditions, and in specific time, and in multi-ways, And to make it clear .. the "Main" Saving features are "Basic Saver" and "Low Strength Saver" and the other are optional Mods, that may not apply for " saver " name, but will apply for " WiFi Manager " name, And that's the app .. it's a saver and a manager .
Features Explains :
Basic Saver
This is the main features of this app, When enabled, a checking alarm will run every 5 minutes ( changeable ) and check for two conditions, One : If WiFi is on and not connected to a network, Two: if connected and there is no internet connection, if it meets one of the conditions it will disable the WiFi .
How to check if there is an internet connection ? : the WiFi is on right?, it will try to connect to the following famous link, this method is the best to check for internet connection and it's well known, the timeout for the connecting test is 7 Seconds, And a note to mention, If you are downloading and taking the full speed, the connecting test may fail .
Low Strength Saver
A Secondary feature, When enabled, a checking alarm will run every 5 minutes ( changeable ), and check for the following condition : If WiFi Network Strength is less than < 30, if yes it will disable the WiFi, you can know the strength from "Show Network Details".
Lock, to enable Mods in Locked Status
Here's where the most saving part is, When enabled : Will run the Basic Saver, Low Strength Saver, and Auto Connect even when the device is locked, and when disabled : Will run the mentioned mods only in Unlocked status .
Important Note : Enabled means it will wake up the device for checking, and this will lower the "battery saving", So please don't complain about not saving a lot when you enable this mod .
Specific Auto Connect
What i personally use, When enabled, it will enable WiFi every 30 minutes ( changeable ) and connect to a specific network ( You Must set it in Network Name preference ) , if it doesn't exist, Or there is no internet connection, the WiFi will be disabled .
You can set up to 3 network names, Finding network timeout is 10 seconds, and checking for internet connection timeout is 5 seconds, the best possible delay .
*Ok, wait .. what if i have set 2 network names, and both of them exist in the same range ?, Easy question, it will try to connect on order, for example, First Network : Bla, Second Network : Blabla, if "Bla" exists and the WiFi is connected to it, it will ignore connecting to the second network, Simple thing .
Random Auto Connect
Same as the previous mod, But this one won't connect to a specific network .. nope, it will connect to the Strongest, Saved network you have in the range, the conditions apply on this too, if no saved network found to connect to, Or there is no internet connection, it will disable the WiFi, and the delay is the same ( 30 minutes - changeable ) .
Airplane Mod (Related To Auto Connect )
This Mod is related to Auto Connect, As requested from user, Sometimes the user enable Airplane mod and don't want to enable WiFi at all, So when this mod is enabled, it will disable Auto Connect Mods, and will automatically turn it on again when Airplane Mod is off .
Enable WiFi When Unlocked
Enable WiFi When Unlocked, Self explained, and needs some notes, it will only turn it on if there's an actual lock, it detects the Unlocking event, So no lock = No Event detecting, In some devices "Swipe" lock can trigger the event .
Disable WiFi When Locked
Also self explained, and same as above for the "Lock" note, And an important thing to mention, there's a delay, Sometimes the user lock his device accidentally, to prevent this, I've added a delay, after locking the device by 5 minutes, the WiFi will be disabled, this to ensure that locking wasn't "accidentally" .
Basic Timer
A Simple, Required mod, by this mod you can set a specific time to enable the WiFi, and disable it, This mod won't carry for device status if locked or not, it will follow your time orders *Yay* .
Specific Auto Connect Timer
This timer is different, it won't do anything to the WiFi, nope .. it will run the "Specific Auto Connect" Mod in specific time, and will disable it in specific time .
Random Auto Connect Timer
Same as above, but this one will run the "Random Auto Connect" .
Custom Service Delay
The Custom delay will change the Basic Saver, and Low Strength Saver mods delay ( default is 5 ) .
Custom Auto Connect Delay
Same as above, but this will effect the Auto Connect mods only .
Show Network Details
In this simple feature, you can view Connected Network Details : Name, IP (Ipv4), MAC Address, Link Speed, Frequency (API 21+), Strength .
Very good my friend, keep your job . You want to put some option translation? Brazilians will like it.
Marília de Oliveira said:
Very good my friend, keep your job . You want to put some option translation? Brazilians will like it.
Click to expand...
Click to collapse
Gonna provide the strings.xml in the next update.
As requested from me, this will be added :
- Option to disable WiFi after 2/3 minutes when screen goes off .
- Option to disable WiFi based on current time which will be set by the user .
Misc changes :
- Slight edit on the icon .
- fix some typos .
abo hani said:
Gonna provide the strings.xml in the next update.
As requested from me, this will be added :
- Option to disable WiFi after 2/3 minutes when screen goes off .
- Option to disable WiFi based on current time which will be set by the user .
Misc changes :
- Slight edit on the icon .
- fix some typos .
Click to expand...
Click to collapse
This and very good, I'll be waiting :good:
Marília de Oliveira said:
This and very good, I'll be waiting :good:
Click to expand...
Click to collapse
I've updated the app, and uploaded the new version here, it will hit the market in 1-2 hours .
Changelog :
- Disable WiFi when locked Mod .
- Enable WiFi Timer .
- Disable WiFi Timer .
Misc Changes :
- Slight edit to the icon .
- Typo edits .
I've included the strings.xml file, check it in the attachments .
abo hani said:
I've updated the app, and uploaded the new version here, it will hit the market in 1-2 hours .
Changelog :
- Disable WiFi when locked Mod .
- Enable WiFi Timer .
- Disable WiFi Timer .
Misc Changes :
- Slight edit to the icon .
- Typo edits .
I've included the strings.xml file, check it in the attachments .
Click to expand...
Click to collapse
I updated here, very good. but send me the file for translation.
Beautiful work :victory:
With the "Disable WiFi when locked Mod" it happened to me today to drain my 4G balance because the wifi was in fact disabled when my device was locked, but not reconnected when it was unblocked.
To reconect wifi, it must be done manually. I've done the experience several times. So I do not use any of the 3 new lockers. I've an Huawey Y6 rooted with Kingroot.
frajofa said:
With the "Disable WiFi when locked Mod" it happened to me today to drain my 4G balance because the wifi was in fact disabled when my device was locked, but not reconnected when it was unblocked.
To reconect wifi, it must be done manually. I've done the experience several times. So I do not use any of the 3 new lockers. I've an Huawey Y6 rooted with Kingroot.
Click to expand...
Click to collapse
I didn't put an option to "Enable device when unlocked", if u want it in the app, i will work on it .
Marília de Oliveira said:
I updated here, very good. but send me the file for translation.
Beautiful work :victory:
Click to expand...
Click to collapse
the strings.xml file in the attachments, download "values.zip" and unzip it, you will see Strings.xml :highfive: .
New update !
Re-coded from scratch .
Re-designed, and added awesome features to manage your WiFi .
less effect on battery now, less alarms .
Update will be available on the store in 3-4 hours, but you can download it from the attachments .
Thanks!! Works great!
Ive been waiting for a decent app like this for a long time! I plan on downloading it when i get home. I cant wait! I'll update with a review of it later. But from what ive seen so far, it should be a good one! Thanks!
Work?
Work?
Thanks I'll try that
Nice apps=D> =D>
Recommended for Low mAh (Capacity) Phone...
great app and really simple to use!
Still a little confusing compared to lean droid or even Craig's battery saver.
Romanian translation
I just translated it into Romanian. Please check if the language import is successful.
Oh my good god you are really awesome @abo hani !!!!! Just a little request could you please make a tutorial how to port xperia small apps to cm 13 ROMs!!!!