[APP][2.2+ v1.4.2]CleverConnectivity: Manage connectivity w/o stopping streaming/dl

Search This thread

gyagapen

Senior Member
Jun 27, 2011
193
198
Solitude S!.E
Hello everyone!

I was searching for a connectivity (3G/Wifi) manager that will allow to save some juice without sacrificing my habits.
I couldn't find something that fulfilled exactly my needs so as a curious IT engineer I decided to develop my first android application.

CleverConnectivity is an application that helps you to manage your data and wifi connection in order to save battery.

NO ROOT IS NEEDED.


How does CleverConnectivity work?

This application will automatically turn on and off connectivity (data/wifi/sync) while screen is OFF.
For example if the user chooses below configuration:
Time On: 2min
Time On Next Check: 1min
Time Off: 10m
Usage check Interval: 3s
Once the screen is OFF, CleverConnectivity will keep connectivity alive for 2min. Then it will check if data is used during a period of 3s.
If data is used, connectivity will be kept for 1 minute (Time On Next Check).
If data is NOT used, connectivity will be desactivated for 10min. After this, the connectivity will be re-activated and Time On will kick in.
Once screen is ON, connectivity will be automatically re-enabled.

howcleverconnectivitywo.png



Details of features:
- Configuration of ON-OFF cycle (Time On, Time Off, Usage Interval Period)
- Disable/Enable connectivity (Wifi/Data/Sync)
- Enable/disable management of Data/Wifi/Sync connectivity
- Sleep Hours: During these hours, all connectivity will desactivated one screen is OFF
- Possibility to turn off bluetooth during sleep hours
- Auto Wifi-Off: Wifi will be disabled after after a defined period if screen is OFF and no known networks are available
- Auto Wifi-On: Wifi will be enabled once a known network is availaible
- Check Wifi internet connection: Will check if the wifi is able to connect to the internet before connecting to it
- Possibility to read logs generated by the app
- Possibility to deactivate the app while the phone is plugged. The ON-OFF cycle will resume once the phone is unplugged.
- "Screen On Connectivity Delay" which delays the moment where connectivites are re-enabled when screen is turned on
- Possibility to manage connectivity per app
- Shortcut can be created to enable/disable CConnectivity
- Possibility to turn on/off permanent notification
- Switch 2G/3G (for cyanogenmod based roms only)

How does this CleverConnectivity is different from its concurrents:

- You can turn on/off connectivity (wifi/data/sync) everywhere in the system (settings, toggles on notification bar...) and will be taken into consideration by CleverConnectivity
- CleverConnectivity can check data usage before disable it. Therefore your downloads/streaming won't be stopped
- It's very lightweight and efficient. You just have to install it and configure it and then forget it. It will do it work silently and efficiently.
- It's free! It contains all features of the paid version. The only difference is the presence of ads. If you want to support me, then you can buy the no ads version.


Google play links


Screenshots

Free Version (contains all features)

https://play.google.com/store/apps/...mNvbS5neWFnYXBlbi5jbGV2ZXJjb25uZWN0aXZpdHkiXQ..


Paid version - No Ads (same features as free version, it's only if you want to support)

https://play.google.com/store/apps/...d5YWdhcGVuLmNsZXZlcmNvbm5lY3Rpdml0eW5vYWRzIl0.


If you have any question/issue about CleverConnectivity, please write in this thread or use the "Report a bug" button.



Screenshots






















Enhancements list

- Add statistics


Versions

v1.4.2
- Bug with manager connectivity per app feature fixed

v1.4.1
- Bug fixes
- Improved stability of main service

v1.4
- Brand new UI (side navigation bar)
- New feature: Data off when wifi is connected
- A lot of bug fixes

v1.3.3
- Added italian translation (thanks to Alberto Nessi)
- Fixed bug with sleep off notfication
- Fixed with bluetooth feature

v1.3.2.1
- Fixed "Activate Notfication" feature
- Fixed battery low percentage display

v1.3.2
- Improved Notifications
- Added Low Battery Profile


v1.3.1
- Added "Ongoing notfication" feature

v1.3.0
- New UI
- Added support for android 2.2
- Corrected bug while generating and fetching logs
- Spanish translation

v1.2.17
- Corrected bug with application auto start
- Added "Bluetooth off when sleeping"
- Improved icon (still thanks to Yves)
- Now using log4j library to generate logs
- Now automatically link logs file when reporting mail


v1.2.16
- Clean up logs
- Add 'Deactivate logs' feature
- Corrected another bug in WifiScanner
- New icon (Thanks to Yves)

v1.2.15
- Added "Re-enable connectivity after lockscreen is removed" feature
- Added "Check wifi internet connection" feature
- Corrected some bugs with Auto Wifi features


1.2.14
- Fixed bug while rotating screen on main activity
- Fixed bug with Sleep Hours after restarting

1.2.13
- Added « Manger connectivity per app » feature
- Improve stability of main service
- Corrected little bug with shortcut

1.2.12
- Improved 2G/3G switch for CyanogenMod based roms
- Added shortcut to (de)activate main service
- Corrected several little bugs

1.2.11
- Corrected a bug with sleep hours
- Added "2G when screen is off" ONLY FOR CYANOGEN - still BETA stage


1.2.10
- Added Auto Wifi On feature
- Corrected several little bugs

1.2.9
- Reorganized the main UI (just some little modifications)
- Added "First Time On" feature which is a Time On that will be executed instead of the regular Time On when the screen has just been turned off. But after expiration of Time Off, it's still the regular Time On that will be taken into consideration.
- Corrected a bug when the main service was starting
- Corrected bug while quitting sleep mode

1.2.8
- Corrected bug with "Deactivate while plugged" feature
- Significantly improved sync operations
- Added french translation
- Renamed free and paid versions

1.2.7
- Improve sync operations while screen is off
- Corrected bug while inputting a value greater than 10 in data usage check field
- Added "Screen On Connectivity Delay" feature which delays the moment where connectivites are re-enabled when screen is turned on

1.2.6
- Corrected bug with phone sometines acquiring wakelock

1.2.5
- Added "Deactivate while plugged" feature
- Added master switch to deactivate all features of CleverConnectivy
- Added "Time On Next Check" timer
- Corrected bug while leaving blank timer fields


1.2.4
- Auto-Sync Manager Added
- Bug correction with activation of Data Manager and Wifi Manager

1.2.3
- Big under-the-hood update : it should resolved most of encountered bugs

1.2.2
- Fixed antoher bug in sleep hours, it should work fine now!

1.2.1
- Added possibility to view logs generated by ap
- Fixed bug in Sleep Hours
- Improved overall performance and stability (less RAM usage°
- Ads are removed from this version for now.

Hope you will enjoy CleverConnectivity!
 
Last edited:

asawoszc

Senior Member
Apr 13, 2012
183
27
Toronto
Giving this a try to see if it gets even more life out of my nexus 4. Thanks and good work! I'll drop a review on the Play Store after some evaluation time.
 

Zahih

Senior Member
Feb 28, 2012
644
224
I thought this is the app that I've been looking for.
I'll try your app, and I'll buy the paid version to support you if this app exactly the same what I searching for.:thumbup:
Thanks.

Sent from my Nexus S i9023 using XDA Premium
 
  • Like
Reactions: gyagapen

jamfreak

Senior Member
Feb 3, 2011
360
161
New Orleans, LA
So is there a way to 'start' this app or it automatically runs when installed on the phone?

____________________________________
HTC Evo 4g LTE
CyanogenMod 10 unofficial TD build
TWRP
Bootloader 1.12 / S-on
Retired phone:
HTC Evo4g OG
 

Qizami

Senior Member
Jul 6, 2010
183
48
Nis
So is there a way to 'start' this app or it automatically runs when installed on the phone?

____________________________________
HTC Evo 4g LTE
CyanogenMod 10 unofficial TD build
TWRP
Bootloader 1.12 / S-on
Retired phone:
HTC Evo4g OG

Read first post...

- It's very lightweight and efficient. You just have to install it and configure it and then forget it. It will do it work silently and efficiently.
 
Last edited:
  • Like
Reactions: jamfreak

paulgood

Member
Dec 18, 2011
8
1
Can one just use the connectivity timer On/Off settings (for turning data and wifi off during the night) and ignore all the other settings? Not checking them? If so, what would one put in the "time on", "time off" and "usage check interval" fields? Thanks
 

kenkiller

Senior Member
Nov 21, 2009
3,434
551
I dunno who wrote the description on the XDA front page, but from what I see the functionality of this app is not exactly what's indicated there imho. :(

Ask any smartphone or tablet user how would their life be without Internet access, and the answer would certainly not be a happy one in most cases. We use these devices to stay connected to the rest of the world using WiFi wherever and cellular data. However, switching between these two can become a hassle, especially if you are frequently moving around between WiFi coverage areas and areas where you must switch to your data connection. Frustrated with this issue, XDA Forum Member gyagapen decided to build his first Android app to address this problem, and shared the fruit of his labor with us in form of CleverConnectivity.

The app intelligently manages switching between both your WiFi and 3G data connections as you move about, but that’s not all. The killer feature of the app is that it also makes sure your ongoing downloads and media streams aren’t interrupted due to the switching! And guess what? This is only the start of the list of features boasted by the app.

The app is available as both a fully functional but ad-supported free version, and an ad-free paid version. You can find more details, the complete feature list, and the Play Store links in the forum thread.

What? :D
 
Last edited:

gyagapen

Senior Member
Jun 27, 2011
193
198
Solitude S!.E
Can one just use the connectivity timer On/Off settings (for turning data and wifi off during the night) and ignore all the other settings? Not checking them? If so, what would one put in the "time on", "time off" and "usage check interval" fields? Thanks

If you don't want the app to check data usage before turning off connectivity, just input 0 to the usage check interval.

If you want to keep Wi-Fi and data off during the night, you can check only the sleep hours checkbox and leave all the others checkbox unchecked. It should work. The timers values are only use for Wi-Fi manager and data manager, so you can input any values if you don't use them.

Sent from my GT-I9100 using xda premium
 
  • Like
Reactions: imdanix007

gyagapen

Senior Member
Jun 27, 2011
193
198
Solitude S!.E
I dunno who wrote the description on the XDA front page, but from what I see the functionality of this app is not exactly what's indicated there imho. :(



What? :D
My app only disable wifi if your are away from known networks for too long (Auto-Wifi Off), but it won't reconnect when you are back to wifi coverage (I think checking this will consume too much battery).
However, all the part about checking data usage is exact.
 
  • Like
Reactions: imdanix007

smarty42

New member
Dec 25, 2012
3
0
Paris
Hi,

Your application seems to be nice!

I've installed it on my Galaxy Ace 2 without problem to see more about it.

I've a couple of question:

1 Have you an idea of the battery consumption gain with this application ?

2 There is in the application a log running continuously. Is it for debugging purpose ? is it possible to disable it ?

Thanks for your efforts

Best regards
 

KicknGuitar

Senior Member
Aug 23, 2012
270
63
Defy § Quarx's CM10
A quick question,
My phone is quite data-active in the background. Many times I need to keep data on for incoming email or some syncing such as a few songs from my Subsonic server. Is there a function to switch 3G/2G instead of turning it off?
 

gyagapen

Senior Member
Jun 27, 2011
193
198
Solitude S!.E
Hi,

Your application seems to be nice!

I've installed it on my Galaxy Ace 2 without problem to see more about it.

I've a couple of question:

1 Have you an idea of the battery consumption gain with this application ?

2 There is in the application a log running continuously. Is it for debugging purpose ? is it possible to disable it ?

Thanks for your efforts

Best regards

Hi,

Thanks for your feedback, please find below answers to your question:

1) I have monitored battery consumption with battery monitor widget.

Here are my results for the night
screenshot2012122106363.png


Here it's for the day
screenshot2012122320080.png


2) I have still some work to do with logs. I will add an option to disable them.

Regards.

Sent from my GT-I9100 using xda premium
 
Last edited:

kenkiller

Senior Member
Nov 21, 2009
3,434
551
My app only disable wifi if your are away from known networks for too long (Auto-Wifi Off), but it won't reconnect when you are back to wifi coverage (I think checking this will consume too much battery).
However, all the part about checking data usage is exact.
Nothing wrong with your app, but the guy who wrote that post certainly has some comprehension problems. :D

It's written as if your app can handle switching of networks mid downloads. Oh well.... :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 91
    Hello everyone!

    I was searching for a connectivity (3G/Wifi) manager that will allow to save some juice without sacrificing my habits.
    I couldn't find something that fulfilled exactly my needs so as a curious IT engineer I decided to develop my first android application.

    CleverConnectivity is an application that helps you to manage your data and wifi connection in order to save battery.

    NO ROOT IS NEEDED.


    How does CleverConnectivity work?

    This application will automatically turn on and off connectivity (data/wifi/sync) while screen is OFF.
    For example if the user chooses below configuration:
    Time On: 2min
    Time On Next Check: 1min
    Time Off: 10m
    Usage check Interval: 3s
    Once the screen is OFF, CleverConnectivity will keep connectivity alive for 2min. Then it will check if data is used during a period of 3s.
    If data is used, connectivity will be kept for 1 minute (Time On Next Check).
    If data is NOT used, connectivity will be desactivated for 10min. After this, the connectivity will be re-activated and Time On will kick in.
    Once screen is ON, connectivity will be automatically re-enabled.

    howcleverconnectivitywo.png



    Details of features:
    - Configuration of ON-OFF cycle (Time On, Time Off, Usage Interval Period)
    - Disable/Enable connectivity (Wifi/Data/Sync)
    - Enable/disable management of Data/Wifi/Sync connectivity
    - Sleep Hours: During these hours, all connectivity will desactivated one screen is OFF
    - Possibility to turn off bluetooth during sleep hours
    - Auto Wifi-Off: Wifi will be disabled after after a defined period if screen is OFF and no known networks are available
    - Auto Wifi-On: Wifi will be enabled once a known network is availaible
    - Check Wifi internet connection: Will check if the wifi is able to connect to the internet before connecting to it
    - Possibility to read logs generated by the app
    - Possibility to deactivate the app while the phone is plugged. The ON-OFF cycle will resume once the phone is unplugged.
    - "Screen On Connectivity Delay" which delays the moment where connectivites are re-enabled when screen is turned on
    - Possibility to manage connectivity per app
    - Shortcut can be created to enable/disable CConnectivity
    - Possibility to turn on/off permanent notification
    - Switch 2G/3G (for cyanogenmod based roms only)

    How does this CleverConnectivity is different from its concurrents:

    - You can turn on/off connectivity (wifi/data/sync) everywhere in the system (settings, toggles on notification bar...) and will be taken into consideration by CleverConnectivity
    - CleverConnectivity can check data usage before disable it. Therefore your downloads/streaming won't be stopped
    - It's very lightweight and efficient. You just have to install it and configure it and then forget it. It will do it work silently and efficiently.
    - It's free! It contains all features of the paid version. The only difference is the presence of ads. If you want to support me, then you can buy the no ads version.


    Google play links


    Screenshots

    Free Version (contains all features)

    https://play.google.com/store/apps/...mNvbS5neWFnYXBlbi5jbGV2ZXJjb25uZWN0aXZpdHkiXQ..


    Paid version - No Ads (same features as free version, it's only if you want to support)

    https://play.google.com/store/apps/...d5YWdhcGVuLmNsZXZlcmNvbm5lY3Rpdml0eW5vYWRzIl0.


    If you have any question/issue about CleverConnectivity, please write in this thread or use the "Report a bug" button.



    Screenshots






















    Enhancements list

    - Add statistics


    Versions

    v1.4.2
    - Bug with manager connectivity per app feature fixed

    v1.4.1
    - Bug fixes
    - Improved stability of main service

    v1.4
    - Brand new UI (side navigation bar)
    - New feature: Data off when wifi is connected
    - A lot of bug fixes

    v1.3.3
    - Added italian translation (thanks to Alberto Nessi)
    - Fixed bug with sleep off notfication
    - Fixed with bluetooth feature

    v1.3.2.1
    - Fixed "Activate Notfication" feature
    - Fixed battery low percentage display

    v1.3.2
    - Improved Notifications
    - Added Low Battery Profile


    v1.3.1
    - Added "Ongoing notfication" feature

    v1.3.0
    - New UI
    - Added support for android 2.2
    - Corrected bug while generating and fetching logs
    - Spanish translation

    v1.2.17
    - Corrected bug with application auto start
    - Added "Bluetooth off when sleeping"
    - Improved icon (still thanks to Yves)
    - Now using log4j library to generate logs
    - Now automatically link logs file when reporting mail


    v1.2.16
    - Clean up logs
    - Add 'Deactivate logs' feature
    - Corrected another bug in WifiScanner
    - New icon (Thanks to Yves)

    v1.2.15
    - Added "Re-enable connectivity after lockscreen is removed" feature
    - Added "Check wifi internet connection" feature
    - Corrected some bugs with Auto Wifi features


    1.2.14
    - Fixed bug while rotating screen on main activity
    - Fixed bug with Sleep Hours after restarting

    1.2.13
    - Added « Manger connectivity per app » feature
    - Improve stability of main service
    - Corrected little bug with shortcut

    1.2.12
    - Improved 2G/3G switch for CyanogenMod based roms
    - Added shortcut to (de)activate main service
    - Corrected several little bugs

    1.2.11
    - Corrected a bug with sleep hours
    - Added "2G when screen is off" ONLY FOR CYANOGEN - still BETA stage


    1.2.10
    - Added Auto Wifi On feature
    - Corrected several little bugs

    1.2.9
    - Reorganized the main UI (just some little modifications)
    - Added "First Time On" feature which is a Time On that will be executed instead of the regular Time On when the screen has just been turned off. But after expiration of Time Off, it's still the regular Time On that will be taken into consideration.
    - Corrected a bug when the main service was starting
    - Corrected bug while quitting sleep mode

    1.2.8
    - Corrected bug with "Deactivate while plugged" feature
    - Significantly improved sync operations
    - Added french translation
    - Renamed free and paid versions

    1.2.7
    - Improve sync operations while screen is off
    - Corrected bug while inputting a value greater than 10 in data usage check field
    - Added "Screen On Connectivity Delay" feature which delays the moment where connectivites are re-enabled when screen is turned on

    1.2.6
    - Corrected bug with phone sometines acquiring wakelock

    1.2.5
    - Added "Deactivate while plugged" feature
    - Added master switch to deactivate all features of CleverConnectivy
    - Added "Time On Next Check" timer
    - Corrected bug while leaving blank timer fields


    1.2.4
    - Auto-Sync Manager Added
    - Bug correction with activation of Data Manager and Wifi Manager

    1.2.3
    - Big under-the-hood update : it should resolved most of encountered bugs

    1.2.2
    - Fixed antoher bug in sleep hours, it should work fine now!

    1.2.1
    - Added possibility to view logs generated by ap
    - Fixed bug in Sleep Hours
    - Improved overall performance and stability (less RAM usage°
    - Ads are removed from this version for now.

    Hope you will enjoy CleverConnectivity!
    5
    Happy new year to everyone!

    I think that it's big time for an update!

    You will find attached a beta version of v1.4 with below enhancements:
    - Brand New UI
    - New feature: Data Off when connected to Wifi
    - A lot of bug fixes

    Feel free to post comment/bug reports on this new version!

    Note: Don't forget to uninstall any previous version of CleverConnectivity before installing the beta version.
    5
    Hi all,

    I have found the culprit for most of bugs.
    The most important is timers are being killed by the OS while in deep sleep.
    I will use AlarmManager instead of timer tasks for the implementation on these timers.
    My tests were done with the phone plugged to my laptop, that is why I didn't notice it.

    I will work on these bugs as from tomorrow and hopefully if tests are ok, I will release a new version by the end of this weekend.
    My main goal is to have a bug-free version asap, and then start to implement some suggested enhancements.
    4
    New release!

    1.2.6
    - Corrected bug with phone sometines acquiring wakelock

    This one is important because it's correcting a bug that is sometimes preventing the phone to go in to deepsleep.
    Please update as soon as possible (it will be up on play store in a few hours).

    Thanks and sorry this annoying bug.
    4
    New release!

    v1.2.15
    - Added "Re-enable connectivity after lockscreen is removed" feature
    - Added "Check wifi internet connection" feature
    - Corrected some bugs with Auto Wifi features


    For the next update I will work on:
    - Logs
    - "Auto bluetooth off"
    - Further testing on 2g/3g switch