[Solved] Toggle 2G while on wifi/screen off - LG Optimus 2x

Is there an app that can not only switch off my data but also switch to 2G while i am connected to wifi or my screen is turned off (i have better 2g signal in my area)?
the ideal app should be able to switch between these settings
screen off
2G, data on at xx min intervals (for sync,similar to 2x battery), no wifi.
screen on but locked : as above
screen on unlocked
search wifi - if available connect and keep 2G. If not available, switch wifi off, turn on 3G+data.

Well... yes:
http://forum.xda-developers.com/showthread.php?t=739530&highlight=toggle+2g+3g
But you need a modified rom for that. Either you modify it yoursef (see thread) or use a pre-modified one. Some people say, it's quite good, some say it makes the phone a bit instable.
I used it myself with a gueste ROM and was satified with the funktions. It really worked. But I had some problems with wifi then. Well, you could give it a try.
Cheers

Thanks for the thread.
At first glance the CM6 people seem to have problems. I am running CM7 temasek KANG 204-20 with vadonka's kernel. I'll download the zip and try it via CWM. Will report back

i think the mobile network settings get ignored when wifi is enabled, whe i have it disabled and use 2g only i always have max connection but when wifi is enabled or 3g network i have very low connection when it changes to 3g wcdma...
i searched for an app to display the status of whe network and tried hidden menu but it seema its not getting updates while wifi is enabled:/
anyone experiencing similar behaviors?
Sent from my Optimus 2X using XDA App

so. after some hours testing i can say that it works for me. i use it in conjunction with battery 2x.
when my screen is off toggle2g switches to 2G network and 2x battery enables data every 15min for sync.
when the screen is on battery 2x re-enables data but it remains in 2g network thanks to toggle2g (i have selected the option to manually re-enable 3g)
when i turn my wifi on toggle2g switches to 2g network (although it takes some time.. like 10-15s)
so.. these 2 apps seem to do the trick for me. Lost 9% over the night (still don't know if it's good or bad) and used to lose about 20%.

Related

Battery Drain = 3G?

One of the big complaints from all published reviews is the lack of battery power - about 4 hours maximum. I have an idea I to present.
I have the T-Mobile version, but I use my S7 at home; in fact I never activated the device on T-Mobile. I think that part of the problem with battery drain is that one cannot turn off the 3G modem. The S7 automatically disables the connection to 3G when the WiFi connects, but the modem is still working (there is still a signal strength on the task bar).
From past experience with phones, that 3G modem drains a lot of power.
Does anyone know of a way to disable the modem itself? I'm not interested in rooting at this point, but maybe there is some setting I am missing?
If you load DJ_Steve's S7 ROM, there is a hack to disable the RIL. That gave me much better battery life.
I just leave mine in airplane mode with no SIM inserted, enable and disable wifi as needed.
First off, what's RIL?
Second, I've also heard that the cellular is trying to connect on the software side. Any truth to this?
I'm wondering how this tab might fare, battery-wise, with it not pinging for a cell signal and 3G (or 4G, depending on the signal you get, or both and only 1x active) off. Can you set it so only one radio is getting play? Also, can you set profiles so that one gets used over the other? Example:
Screen off = 2G only
Screen on = 3G only
Internet apps (such as browser and YouTube) = 4G only
Z4nd4r said:
First off, what's RIL?
Second, I've also heard that the cellular is trying to connect on the software side. Any truth to this?
I'm wondering how this tab might fare, battery-wise, with it not pinging for a cell signal and 3G (or 4G, depending on the signal you get, or both and only 1x active) off. Can you set it so only one radio is getting play? Also, can you set profiles so that one gets used over the other? Example:
Screen off = 2G only
Screen on = 3G only
Internet apps (such as browser and YouTube) = 4G only
Click to expand...
Click to collapse
One of the posts above indicates that he is using a hacked software version, and the battery life is indeed much better without 3G.
Using airplane mode would work if I was only using the device to read books, for example, but I generally use it for online work.
I think the replies confirm my suspicion that the 3G modem is drinking the juice. Not too much of a hassle since I keep it at home next to the charge cable, but (especially with that non standard charge cable) it will not be so good outside the house (unless one is using the T-Mobile 3G, but that takes $$).
daveid said:
I just leave mine in airplane mode with no SIM inserted, enable and disable wifi as needed.
Click to expand...
Click to collapse
I use mine similar to this but I have a sim card in as well. I have a widget for airplane mode and one for wifi on my main home screen. I have airplane mode and wifi enabled most of the time but when I am out and need data (not very often) I just disable airplane mode for a short time.
This works well and the battery life is more like a minor inconvenience.
To do this same thing manually I'm sure juice defender ultimate should work since you could set up profiles for wifi, 2g and 3g (disclaimer: I haven't tested that idea but some people on this forum have juice defender ultimate and might be able to comment)
djUniversal said:
I use mine similar to this but I have a sim card in as well. I have a widget for airplane mode and one for wifi on my main home screen. I have airplane mode and wifi enabled most of the time but when I am out and need data (not very often) I just disable airplane mode for a short time.
This works well and the battery life is more like a minor inconvenience.
To do this same thing manually I'm sure juice defender ultimate should work since you could set up profiles for wifi, 2g and 3g (disclaimer: I haven't tested that idea but some people on this forum have juice defender ultimate and might be able to comment)
Click to expand...
Click to collapse
The problem is that when the WiFi is on, so is the 3g. I confirmed this with my battery widget; 57% of the battery drain was due to the 3g modem IIRC.
stevedebi said:
The problem is that when the WiFi is on, so is the 3g. I confirmed this with my battery widget; 57% of the battery drain was due to the 3g modem IIRC.
Click to expand...
Click to collapse
If you activate wifi by turning airplane mode off then the 3g radio will stay on in the background while you are using wifi.
If you turn on airplane mode then wifi you will only have wifi active. Just make sure that the airplane mode symbol is on in the top right beside the wifi icon.
djUniversal said:
If you activate wifi by turning airplane mode off then the 3g radio will stay on in the background while you are using wifi.
If you turn on airplane mode then wifi you will only have wifi active. Just make sure that the airplane mode symbol is on in the top right beside the wifi icon.
Click to expand...
Click to collapse
Thanks, I will try it tonight! That should improve my battery life a lot. I'll report back.
Wow,
That worked great. I didn't realize that flight mode did not override all radios. Thanks for the tip!
Sent from my Streak 7 via xda app
daveid said:
I just leave mine in airplane mode with no SIM inserted, enable and disable wifi as needed.
Click to expand...
Click to collapse
This has also worked for me with the SIM inserted. I get great sleep times with new OTA upgrade left at default settings and keeping the S7 in airplane mode, unless charging. I only turn on wifi when I need it.
Also very important: if you're using the S7 only with wifi, turn background sync off from the power widget, when you are setting the tablet aside for some time. I believe this is where the battery drain actually occurs. If background sync is left on, the S7 continues to try to update location services and your various accounts, even though airplane mode is on.
I have "slept" the S7 (airplane mode with wifi off and background sync off) when I get to work at about 90% charge and come back to it at the end of the day at 75%, ready for the commute home.
Sent from my ADR6300 using Tapatalk

[Guide] Huge battery save with CM7

Hello fellow XDA's,
I've found a way to save the battery in CM7 in a huge way. You must have CM7 for this (maybe Miui will work also, but I can't guarantee that). This enables the 2G Only setting automatically when the phone is asleep to save battery and when you wake up the phone, it will automatically (or manually, you can choose this) turn back to 3G.
1. Go to: http://forum.xda-developers.com/showthread.php?t=739530
2. Download: Toggle2G-Update.zip
3. Install Toggle2G-Update.zip through recovery
4. Open the app and turn on the following options:
- Auto Manage 2G/3G
- Manually Activate 3G
- Activate with Notification
- 2G when sleep
- Sleep delay, set to 2 minutes
- 2G when low battery
- Battery Level: set to 20% (you can choose the % level yourself)
- 2G when wifi enabled
- 2G Network, set to GSM Only
- 3G Network, set to WCDMA preferred
- I choose manually activate 3G, because sometimes I Just want to check notifications or the time and I don't want my phone to switch to 3G every time I wake it. I think that will eat battery life.
- I choose Activate with Notification because I want to be able to switch to 3G "on the fly" (without going through the settings) when I need 3G.
- I choose 2G when wifi enabled because it is useless to have a 3G connection (for your calls/text) when wifi is enabled, 2G is good enough for that.
These are the settings I've made for my O2X and it looks like it is working wonders. After 18h, 6m, 36s my battery level is 42%. So I guess I could make it to around 34-35h till the battery dies. I've made a few calls (about 15-20 min), about 20-30 text/whatsapp, checked Sygic a few times (to see if GPS was getting a fix), some browsing (5-10) min and updated a few apps from the market. (browsing and updatings apps was with wifi enabled, about 10-15 minutes)
I'm using CM Nighlty#101 with BB/Ril 0725.
Testing it out right now. Seems like an alternative to Juice Defender.
When i am in 2G, data is off as well?Mine seems off.
sorry but can't use this trick.. My operator is 3, so 3G is the standard network. When selecting 2G, no network is found (--> no service)
zhehao said:
Testing it out right now. Seems like an alternative to Juice Defender.
When i am in 2G, data is off as well?Mine seems off.
Click to expand...
Click to collapse
For me data is on with 2g. For example: whatsapp messages (which needs data connection) are coming through
Sent from my Optimus 2X using XDA Premium App
Akela80 said:
sorry but can't use this trick.. My operator is 3, so 3G is the standard network. When selecting 2G, no network is found (--> no service)
Click to expand...
Click to collapse
They used to fall back on Orange 2G, until they decided to shaft us customers in poor signal areas & save some money by canceling the network sharing. So I took my money elsewhere.
Great find! I installed this and everything went smoothly. I then went through and applied the settings exactly as you recommended. Only problem is, nothing happens. Zip, zelch, nada. I've left the phone laying for 30 minutes, picked it up and discovered it never even went to 2g at any time. This is just an idea, but perhaps my 2G and 3G network settings at the bottom are off. I'm in the U.S. with a Droid 1. Any ideas?
is it working for all cm7 nightly?
this is great, thanks!
Wi-fi (always on) + 3g drains 1% per hour for me. Under 2% per hour with 3g and data controlled by JuiceDefender, no wi-fi. Not sure what more you could want for idle power drain.

Auto Toggle 2g/3g / Wifi-Matic

i think most people know this tool or similar tools, i searched for an option to switch beetween netwok states automatically
to save battery .....
here's my combination that i use currently
WiFi-Matic - https://play.google.com/store/apps/details?id=org.cprados.wificellmanager&hl=de
Toggle 2G - http://forum.xda-developers.com/showthread.php?t=739530
Toggle 2G Plugin - https://play.google.com/store/apps/details?id=com.mb.toggle2g.plugin.notification&hl=de
These combination does the following for me, Auto Connect/Disconnect Wifi via Network cell Location and
switches 2g/3g/LTE Mobile Network automatically in condition to the Wifi and Phone State (e.g. screen off = 2g)
These Tools are fire and forget, i don't have to hazzle with manual toggles or such.
If you are on CM based Rom you can install toggle 2G with the zip from the App-Main thread
- http://forum.xda-developers.com/attachment.php?attachmentid=1642610&d=1358118015
after that install toggle 2g plugin from playstore and if needed Wifi-Matic
I'am on carbon rom with Iodak Kernel 8.5, with these tools it gives me a great battery live even on 1.5 or 1.7 ghz
Example; from 100% to 98% in 1h 50min @home with Wifi on, 2 Phonecalls for around 18 minutes, a few What's App
Messages and playin aroung with Phone Settings .....
Read the entire desription for Toggle 2G for automatic features
regards - fire3d
fire3d said:
i think most people know this tool or similar tools, i searched for an option to switch beetween netwok states automatically
to save battery .....
here's my combination that i use currently
WiFi-Matic - https://play.google.com/store/apps/details?id=org.cprados.wificellmanager&hl=de
Toggle 2G - http://forum.xda-developers.com/showthread.php?t=739530
Toggle 2G Plugin - https://play.google.com/store/apps/details?id=com.mb.toggle2g.plugin.notification&hl=de
These combination does the following for me, Auto Connect/Disconnect Wifi via Network cell Location and
switches 2g/3g/LTE Mobile Network automatically in condition to the Wifi and Phone State (e.g. screen off = 2g)
These Tools are fire and forget, i don't have to hazzle with manual toggles or such.
If you are on CM based Rom you can install toggle 2G with the zip from the App-Main thread
- http://forum.xda-developers.com/attachment.php?attachmentid=1642610&d=1358118015
after that install toggle 2g plugin from playstore and if needed Wifi-Matic
I'am on carbon rom with Iodak Kernel 8.5, with these tools it gives me a great battery live even on 1.5 or 1.7 ghz
Example; from 100% to 98% in 1h 50min @home with Wifi on, 2 Phonecalls for around 18 minutes, a few What's App
Messages and playin aroung with Phone Settings .....
Read the entire desription for Toggle 2G for automatic features
regards - fire3d
Click to expand...
Click to collapse
i'll be needing something like this soon for my new job, thanks for not making me shift through countless pages to find the apps i needed
That is what i am looking for
Sent from my LG-P880 using xda premium
This is so much apps for a single feature. I recommend Tasker for doing such things. It's worth every single penny for it.
Adam77Root said:
This is so much apps for a single feature. I recommend Tasker for doing such things. It's worth every single penny for it.
Click to expand...
Click to collapse
I dont think, Tasker can toggle 2G/3G ... (no tool that I found until yet can do it)

Toggle between WiFi and mobile data with tasker

Hello. Does anyone knows how to make a script for tasker which switch mobile data off if WiFi is connected and mobile data back on if there's no WiFi connection? For the last 3 or 4 hours I'm searching for this and can't find nothing.
Also, I want if there's no WiFi network, to switch WiFi off (so mobile data will be turned on).
I managed to do something, but it didn't worked. When I enabled the profiles with WiFi and mobile data both turned on, the mobile data turned off, then WiFi off, then mobile data on and so on, in a loop.
Wouldn't that be redundant? The os already does that.
Sent from my Nexus 7 using Tapatalk
Thanks for the response. I know that if WiFi is connected, I'm using the internet from it, but mobile data is still active, right? Even if there's no traffic from mobile data, that's still on. Wouldn't that be a source of battery drain?
I set my data to turn off if my phone is connected for 5 minutes to a wifi. Important: set collision handling to 'abort existing task'.
Here you got pictures.
Edit:
if you are further interested in battery savings, you can read my thread "[BATTERY LIFE] How to get up to 7+h of screen-on-time"
This is absolutely redundant and unnecesary, when the phone connects to a wifi, it disables 3g/LTE data connection by itself. When you connect to a wifi you can see how the 3g/H/H+ icon above radio signal dissapears. The radio chip inside this phones can be used in Wifi mode or 3g/4g mode for data connection, but not both at a time. It is technically not possible.
Accidentally sent from my Xperia Z using Tapatalk
RoberM said:
This is absolutely redundant and unnecesary, when the phone connects to a wifi, it disables 3g/LTE data connection by itself. When you connect to a wifi you can see how the 3g/H/H+ icon above radio signal dissapears. The radio chip inside this phones can be used in Wifi mode or 3g/4g mode for data connection, but not both at a time. It is technically not possible.
Click to expand...
Click to collapse
The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery
So I deactivate data after 5 mins automatically via tasker and turn it on manually when I need it (could also automate that, but I'm lazy). This way I circumvent all these battery drains
Additionally:
Under normal circumstances I'd also set wifi to "turn off if not connected" (in settings) and "optimize wifi for battery life", but I use a custom stock kernel that has issues with these settings so I need to leave wifi on all day
sea2605 said:
The moment you don't have wifi anylonger, the phone starts a fullburst search for wifi and 3G/4G networks (even if I don't want wifi/data at the moment). and this drains a hell of a lot of battery. then (if you go out e.g.) it finds a 3g/4g-connection which it tries to keep up (drains a lot battery) and in the same time searches for wifi-networks (also drains battery)... very inefficient use of battery
So I deactivate data after 5 mins automatically via tasker and turn it on manually when I need it (could also automate that, but I'm lazy). This way I circumvent all these battery drains
Additionally:
Under normal circumstances I'd also set wifi to "turn off if not connected" (in settings) and "optimize wifi for battery life", but I use a custom stock kernel that has issues with these settings so I need to leave wifi on all day
Click to expand...
Click to collapse
Umm, ok... But this has nothing to do with what the OP asked, or what I said.
You may try e-robot from play store.
I have a command for that, after wifi disconnects, wait for 30 sec. If still wifi is not connected, automaticcaly disables wifi.
Same as for bluetooth. When i leave my phone in my desk and gone for a while, 60 sec later disable bt.
You can do what ever you want.
Sent from my C6603 using Tapatalk

2g or wifi

I wonder what is the connection that uses more battery, 2g or wifi.
I only use the internet to update the app lockmix, then the 2g enough for me, but I was wondering which spends more battery if it is 2g or wifi
2G uses very little power in the background, but it's very slow so transferring much data over it will use a lot of power because the radio will need to be on constantly.
WiFi uses a significant amount of power even on standby - that's why WP8 defaults to turning WiFi off when the screen is off - but it's probably worth using when available if your only other option is 2G.
BTW, are you sure you meant 2G? That's archaic; 3G has pretty much entirely replaced it and 4G is become more and more common.
I only use the internet on your phone to update the lockmix application (for screen lock), the 2g is enough. I have to have an active connection, my doubt is on wifi or 2g due to battery consumption. my wifi router this to 2/3 meters away and have speed of 30 mb.
But obviously, battery drain's on 2G network, & no issue about Wi-Fi distances, but it also drain's down when background searching & attempt to connect to the network at multiple times.

Categories

Resources