![]() |
Re: Toggle Standby (LPM) Screen + Toggle WLAN
That's because your background connections are On leading to apps trying to access your Internet connection... Hmm this means there should be an additional line to switch off background connections too... Will check on it...
|
Re: Toggle Standby (LPM) Screen + Toggle WLAN
Quote:
|
Re: Toggle Standby (LPM) Screen + Toggle WLAN
To close background connection:
Code:
gconftool -s -t b /system/osso/connectivity/network_type/restricted_mode true Code:
gconftool -s -t b /system/osso/connectivity/network_type/restricted_mode false |
Re: Toggle Standby (LPM) Screen + Toggle WLAN
Ok found the background connections gconf key:
Background connections are enabled when /system/osso/connectivity/network_type/restricted_mode is set to false and disabled when its set to true... Therefore, you can add the following to the sh script located in /home/user/.local/share/data/toggle-wlan/toggle-wlan.sh For the Wlan Off part add: Code:
gconftool -s --type=bool /system/osso/connectivity/network_type/restricted_mode true Code:
gconftool -s --type=bool /system/osso/connectivity/network_type/restricted_mode false Edit: Haha Schturman beat me to it above :D Edit 2: Updated OP with v1.0.1 that does the above... |
Quote:
|
Re: Toggle Standby (LPM) Screen + Toggle WLAN
Quote:
However, in Profilematic thread there is also this post which shows the user having no issue when combining the gconf key solely with mcetool as is done here for toggle-wlan. :confused: |
Quote:
|
Quote:
|
Re: Toggle Standby (LPM) Screen + Toggle WLAN
I will report later if it have any problem... I started to use it in combination with mcetool. First mcetool will close internet connection and after this gconftool will close background connection... Same for restore: mcetool -> gconftool.
Ofcourse I use it in profilematic :) |
Re: Toggle Standby (LPM) Screen + Toggle WLAN
Quote:
|
All times are GMT. The time now is 13:10. |
vBulletin® Version 3.8.8