Editing AutoDisconnect

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
This application automatically closes your idle connections ('''Wifi + 3G/GPRS + Bluetooth''') and switches the network mode of your [[Nokia N900|N900]] to 2G when 3G is not used, in order for your batteries to last much longer.
+
=Description=
-
Analysis made with one automatic sync (calendar & contacts) running on a unused device every hour using Wifi Access Point : '''your batteries will last up to 5x longer with AutoDisconnect enabled.'''
+
This application automatically closes your idle connections ('''Wifi + 3G/GPRS + Bluetooth''') in order for your batteries to last much longer if like me you have automatic synchronizations. It switches too the network mode of your phone (use 2G when 3G is not required by connection).
-
The package is available on the extras repository for the stable version, and on the extras-devel repository for the testing version.
+
Analysis made with one automatic sync (calendar & contacts) running on a unused device every hour using Wifi Access Point : '''your batteries will last up to 5x longer with AutoDisconnect enable.'''
-
==Interface==
+
The package is available on the extra-testing repository. '''Please vote for it [http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/autodisconnect/0.4-2/ here].'''
 +
 
 +
=Interface=
To manage the application, you can launch the program 'AutoDisconnect' which is available in Settings > Connectivity. You will find 5 tabs :
To manage the application, you can launch the program 'AutoDisconnect' which is available in Settings > Connectivity. You will find 5 tabs :
Line 15: Line 17:
* Bluetooth [http:///www.dev-it.net/files/autodisconnect-ui-bluetooth.png Screenshot]
* Bluetooth [http:///www.dev-it.net/files/autodisconnect-ui-bluetooth.png Screenshot]
-
==Network Settings==
+
=Beta mode : Use 2G when not connected=
-
You can choose which connections to check : GPRS (2G/3G) and Wifi. For each of these connections, you have a tab with similar settings.
+
This new ''beta'' functionality appears with the 0.4. It switches the network mode of your phone automatically to 2G when 3G is not required. So how does it work ?
-
Ex :  
+
Every time you launch a new connection, the network mode will be switched to 3G. If you're using Wifi, the switch happens too because of [https://bugs.maemo.org/show_bug.cgi?id=7733 a bug in Maemo] which makes impossible to know which connection has been launched in if-pre-up.d scripts. But in this case, AutoDisconnect will switch again the network mode to 2G in less than a minute. If you're using 3G then the network mode will be switched back only after the disconnection.
-
* Interval : 1 minutes after 2 seconds
+
-
* Traffic : 2 KB/min
+
-
The previous settings means that AutoDisconnect will begin to record the connection traffic 2seconds after its launch. If 2 minutes later, the total traffic is higher than 5x2KB = 10KB, then AutoDisconnect will consider the connection as used and won't disconnect the device. The next check will happen 5 minutes later.
+
The drawback of this method is that the connection phase last 3 seconds more than in classic mode. So some of your applications which initiates the internet connection (like OMWeather) could believe to a timeout.
-
'''''Italic text'''''''''Bold text''''''''
+
-
[[File:'''Example.jpg'''[http://www.example.com link title]]]
+
-
==Auto-Switch 2G / 3G-Dual==
+
Note : the network mode won't be changed if you are making a call at the same time.
-
'''Please note that this functionality does not depend of the setting "When should AutoDisconnect be active".''' So if you enable it, it will work no matter what.
+
=Possible issues=
-
This functionality switches the network mode of your phone automatically to 2G when 3G is not used. So how does it work ?
+
==Automatic MFE synchronizations (calendar, task, email) are not working anymore==
-
Every time you launch a new GPRS connection, the network mode will be switched to 3G or Dual Mode depending on your settings. After the disconnection, the network mode will be switched back to 2G.
+
An application which required Internet doesn't connect to Internet automatically if the device is not connected (See [https://bugs.maemo.org/show_bug.cgi?id=7180 Bug 7180]), except if the author has manually implemented that functionality. So how to keep MFE or my widgets working ?
-
The drawback of this method is that the connection phase takes more time than in classic mode because of the network mode change. So some of your applications which initiates the internet connection (like [[OMWeather]]) could believe it to be a timeout. The switch to the Dual Mode required more time than the classic 3G switch, so use it only when you are in a area where the 3G coverage is bad.
+
- In Settings > Internet Connections, Use "Connect automatically" to any network or a specified connection and set the "Search Interval" to some value.
-
You can select the duration of the switch, which will depends of your phone/area.  The lowest value is the better.
+
-
Note : the network mode won't be changed if you are making a call at the same time.
+
- [http://talk.maemo.org/showthread.php?t=46594 Alarmed] is an application which allows you to run scripts periodically. Install it and create a periodic run of the following script, which will initiate an Internet connection and run a sync :
-
 
+
-
==Possible issues==
+
-
 
+
-
===Automatic MFE synchronizations (calendar, task, email) are not working anymore===
+
-
 
+
-
An application which required Internet doesn't connect to Internet automatically if the device is not connected (See [https://bugs.maemo.org/show_bug.cgi?id=7180 Bug 7180]), except if the author has manually implemented that functionality. So how to keep MFE or my widgets working?
+
-
* In Settings > Internet Connections, Use "Connect automatically" to any network or a specified connection and set the "Search Interval" to some value.
 
-
* [http://talk.maemo.org/showthread.php?t=46594 Alarmed] is an application which allows you to run scripts periodically. Install it and create a periodic run of the following script, which will initiate an Internet connection and run a sync :
 
-
<source lang="bash">
 
  #!/bin/sh
  #!/bin/sh
   
   
  dbus-send --print-reply --type=method_call --session --dest=com.nokia.asdbus /com/nokia/asdbus com.nokia.asdbus.sync
  dbus-send --print-reply --type=method_call --session --dest=com.nokia.asdbus /com/nokia/asdbus com.nokia.asdbus.sync
-
</source>
 
-
===My Widgets are not refreshing anymore===
 
-
See [[#Automatic MFE synchronizations (calendar, task, email) are not working anymore|Automatic MFE synchronizations (calendar, task, email) are not working anymore]] above.
+
==My Widgets are not refreshing anymore==
-
See [[#Auto-Switch 2G / 3G-Dual|Auto-Switch 2G / 3G-Dual]] above
+
See ''Automatic MFE synchronizations (calendar, task, email) are not working anymore'' above.
-
==Notes==
+
See ''Beta mode : Use 2G when not connected'' above
-
Please report any bugs or suggestions [https://garage.maemo.org/tracker/?group_id=1353 here]. For a bug submission, please include the AutoDisconnect log file with your post. Its location on your phone is <code>/var/log/autodisconnect.log</code>.
+
=Notes=
-
AutoDisconnect is under GPL license so you can get the full source on github [http://github.com/abrisse/AutoDisconnect http://github.com/abrisse/AutoDisconnect].
+
PLEASE be aware that software hosted in extras-testing and extras-devel catalogues is not ready for and average phone users and is aimed to used only for testing purposes.
-
==Changelog==
+
Please report any bugs or suggestions [https://garage.maemo.org/tracker/?group_id=1353 here]. For a bug submission, please include the AutoDisconnect log file with your post. Its location on your phone is /var/log/autodisconnect.log.
-
===0.4.8 [12-21-10]===
+
AutoDisconnect is under GPL license so you can get the full source on github [http://github.com/abrisse/AutoDisconnect http://github.com/abrisse/AutoDisconnect].
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=6380&group_id=1353&atid=5016 #6380]] : Disconnect fails when interface traffic exceeds 2 GiB
+
=Changelog=
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=6705&group_id=1353&atid=5016 #6705]] : Multiple connections support for the same interface
+
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=6012&group_id=1353&atid=5016 #6102]] : Exception for Mobile Hotspot/JoikuSpot
+
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=6709&group_id=1353&atid=5016 #6709]] : IPV6 Support
+
-
===0.4.7 [07-21-10]===
+
'''v0.4 - 06-01-10'''
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=6028&group_id=1353&atid=5019 #6028]] Need longer "switch last" durations - Reporter juhas
+
* New feature [#5732] : Switch automatically 2G <-> 3G - Reporter : automagic68 
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=6070&group_id=1353&atid=5019 #6070]] Add Exception for Pidgin Plugin - Reporter NokiaRocks
+
* New feature [#5700] : Do not disconnect when openvpn is running - Reporter : maddler
 +
* New feature [#5738] : Do not disconnect when VoIP or an IM Account (Google Talk, Skype) is used
 +
* New feature [#5310] : Each connection (gprs and wlan) has its own settings
 +
* New feature [#5221] : Control Panel Applet - Reporter : pillar
-
* MinorEnhancement : Notification labels changed
+
* Fix [#5733] : Bluetooth is disconnected when the FM Radio is used - Reporter DaSilva
-
===0.4.6 [06-14-10]===
 
-
 
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5923&group_id=1353&atid=5016 #5923]] Cannot disable the auto-switch 2G/3G - Reporter dagee04
 
-
* Enhancement : Add a link to the Wiki
 
-
 
-
===0.4.5 [06-12-10]===
 
-
 
-
* Enhancement of AutoSwitch [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5861&group_id=1353&atid=5016 #5861]] : 3G/Dual option  - Reporter jaguilar / Active only when 3G is on - Special thanks to maddler / Others enhancements
 
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5918&group_id=1353&atid=5016 #5918]] : The minus button on the SpinBox on the bluetooth tab was defective - Reporter hironico
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5870&group_id=1353&atid=5016 #5870]] : Add an option: "Do not disconnect while using the device" - Reporter c1fs2aom
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5919&group_id=1353&atid=5016 #5919]] : Add a grace period for each connection
 
-
 
-
===0.4 [06-01-10]===
 
-
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5732&group_id=1353&atid=5016 #5732]] : Switch automatically 2G <-> 3G - Reporter : automagic68 
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5700&group_id=1353&atid=5016 #5700]] : Do not disconnect when openvpn is running - Reporter : maddler
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5738&group_id=1353&atid=5016 #5738]] : Do not disconnect when VoIP or an IM Account (Google  Talk, Skype) is used
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5310&group_id=1353&atid=5016 #5310]] : Each connection (gprs and wlan) has its own settings
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5221&group_id=1353&atid=5016 #5221]] : Control Panel Applet - Reporter : pillar
 
-
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5733&group_id=1353&atid=5016 #5733]] : Bluetooth is disconnected when the FM Radio is used - Reporter DaSilva
 
* Enhancement : Bluetooth manager has been updated and is not loaded anymore when not activated
* Enhancement : Bluetooth manager has been updated and is not loaded anymore when not activated
* Change default settings & Others enhancements
* Change default settings & Others enhancements
* Use of PR 1.2 Qt libraries
* Use of PR 1.2 Qt libraries
-
===0.3.1 [05-03-10]===
+
'''v0.3.1 - 05-03-10'''
* Enhancement : Bluetooth settings changes are now taken in account at the next check
* Enhancement : Bluetooth settings changes are now taken in account at the next check
-
===0.3 [05-03-10]===
+
'''v0.3 - 05-03-10'''
 +
 
 +
* New feature [#5260] : Add option "Disable when plugged in" - Reporter : phedders
 +
* New feature [#5662] : Add option "Disable Bluetooth if no device is connected" - Reporter : DaSilva
 +
* New feature [#5233] : Add option "Do not disconnect if ssh connections are active" - Reporter : fred123
 +
* New feature [#5659] : Limit can now be set in B/KB/MB
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5260&group_id=1353&atid=5016 #5260]] : Add option "Disable when plugged in" - Reporter : phedders
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5662&group_id=1353&atid=5016 #5662]] : Add option "Disable Bluetooth if no device is connected" - Reporter : DaSilva
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5233&group_id=1353&atid=5016 #5233]] : Add option "Do not disconnect if ssh connections are active" - Reporter : fred123
 
-
* New feature [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5659&group_id=1353&atid=5659 #5659]] : Limit can now be set in B/KB/MB
 
* Fix : New Installer (AutoDisconnect didn't work  anymore when reinstalled)
* Fix : New Installer (AutoDisconnect didn't work  anymore when reinstalled)
 +
* Enhancement : UI has been reorganized an now uses tabs
* Enhancement : UI has been reorganized an now uses tabs
-
===0.2.2 [02-22-10]===
+
'''v0.2.2 - 02-22-10'''
* Fix : Max Idle Traffic was a value per second instead of minute
* Fix : Max Idle Traffic was a value per second instead of minute
* Minor Fix : UI Interface - Spelling Traffic instead of Trafic (french)
* Minor Fix : UI Interface - Spelling Traffic instead of Trafic (french)
-
===0.2.1 [02-22-10]===
+
'''v0.2.1 - 02-22-10'''
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5236&group_id=1353&atid=5016 #5236]] : Disconnection always happens when interface is up since more than 10MB
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5236&group_id=1353&atid=5016 #5236]] : Disconnection always happens when interface is up since more than 10MB
 +
* Small enhancement : display notification when settings are saved.
* Small enhancement : display notification when settings are saved.
-
===0.2 [02-19-10]===
+
'''v0.2 - 02-19-10'''
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5214&group_id=1353&atid=5016 #5214]] : Connection delay - Reporter : amorek13 - Many thanks to mclarson for solving the problem
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5214&group_id=1353&atid=5016 #5214]] : Connection delay - Reporter : amorek13 - Many thanks to mclarson for solving the problem
Line 134: Line 103:
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5222&group_id=1353&atid=5016 #5222]] : Configure Uninstaller & Installer
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5222&group_id=1353&atid=5016 #5222]] : Configure Uninstaller & Installer
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5225&group_id=1353&atid=5016 #5225]] : Prevent 2 instances of AutoDisconnect to be run at the same time
* Fix [[https://garage.maemo.org/tracker/index.php?func=detail&aid=5225&group_id=1353&atid=5016 #5225]] : Prevent 2 instances of AutoDisconnect to be run at the same time
 +
* Enhancement : Punctual connections (~20 seconds) will be closed during the next interval check instead of the second next one.
* Enhancement : Punctual connections (~20 seconds) will be closed during the next interval check instead of the second next one.
-
* Note : the upgrade from 0.1 to 0.2 will remove your current settings.
 
-
[[Category:Software]]
+
* Note : the upgrade from 0.1 to 0.2 will remove your current settings.
-
[[Category:N900]]
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)