[App Idea] GSM/WCDMA Switcher

Drakknar

Senior Member
Jul 22, 2004
440
430
0
Berlin
Hey guys,
As the radio stack is the second cause of battery draining after the display, I was thinking about a way to save battery life by reducing the impact of the 3G connection. Most of the energy saving apps on the market are only disconnecting the phone from the APN, but this isn't a great solution as each app could be set to update at different times and thus being unable to download data even if the user sets some exceptions. So I thought that an application which operates in the following way could be great to save power:

- The phone uses the 3G network while the screen is on;
- It switches to 2G when phone is in standby mode;
- It disconnects the APN data connection while the phone is using a WiFi Network;


Obviously to avoid possible issues during the switch between 2G and 3G the following rules are applied:

- If there's an incoming call or a phone call is being performed, there won't be any radio switch until the phone call is ended;
- If there's an incoming SMS/MMS, there won't be any radio switch until the text message is fully received.

Unfortunately as I'm not a Java developer I can't code anything like this. But let me know what you guys think about my idea and if it's technically feasible... Maybe some developer could be interested into further exploring my thoughts and will try to create such an app :)
Cheers
 
Last edited:

sn707

Senior Member
Oct 25, 2007
233
59
0
Oregon
www.sn7.smugmug.com
I'm not a developer but I think it sounds like a great idea. I go into settings and switch it to 2g when I'm in spotty areas outside of town. I have to work a bit to keep my N1 battery alive all day...
 

TheMikeMiller

Member
May 9, 2010
11
0
0
Hello I'm new here.

I don't know if your suggested profiles are the best case scenarios. You would need to calculate your data throughput, not just the radio power.

If you need to send 100 packets, your radio would be on the longest for edge > 3g > wifi. So, even though wifi uses the most power, it would be for a much shorter duration.

A profile for "place calls only" would work somewhat like airplane mode, but still keep track of towers. Your phone just wouldn't register on the network unless you wanted to place a call. You would miss your incoming calls, have no data connection, or sms. But, you could have it check at an interval for voicemail or sms. This would be most useful for "ringer off" situations like class or meeting.
 

Drakknar

Senior Member
Jul 22, 2004
440
430
0
Berlin
Afaik Android is always connected to the APN even if the phone is not downloading anything, consuming a lot of battery power. On other platforms, i.e. Windows Mobile, the connection can be terminated by user and re-established when an app needs that.
The amount of data downloaded by widgets, Google mobile applications or apps which operates in background like eBuddy or Facebook should be quite low, so downloading the required data by using GSM or WCDMA while the phone is in standby would be pretty much the same. The only difference is that downloading stuff using GSM/EDGE should take much less energy power.

So that's why I thought about the app I described before: the phone can save a lot of energy power while in standby and be back to its full horsepower when there is any kind of user intervention. Pretty much the same thing that the system already does for CPU usage. It scales to the less consuming protocol (or, in the case of CPU, frequency and voltage) to save power :)
 

springy

Senior Member
Dec 26, 2010
376
56
28
I know on the google api it isn't possible to do this, but I don't think that isn't the problem.

At the moment you have 3 options. GSM only, WCDMA only and GSM/WCDMA. Whenever you switch between the 3 of them, the phone will lose signal for 10 seconds before it can find the best network. So the switcher here is not the best as you will lose connection, and what if you are downloading something at the same time...

What you need is when the phone is on GSM/WCDMA that it knows the best network to pick from depending on the phones lifecycle. GSM/WCDMA loses battery power because it always tries to find the best network to connect to, so for example if you are on GSM it will constantly try to find a 3G network etc (as far as I understand it).

What we need is the ability for the phone to stay on GSM when the phone is idle and then when the phone is woken up to automatically start to search for a WCDMA network and then gracefully switch over like it does now. For this I have no idea if it is possible as I don't know how the scanning of the network works. If it is possible then that would be wicked. But this is what we need.
 

arminsoyka

Senior Member
Jun 1, 2010
59
1
0
Vienna
my preference would be if the phone would stay on 3g as long as any possible even if there would be a more reliable 2g connection and only switch to 2g if there really is no way to connect to 3g. turn of apn if the screen us turned of for longer then 1 or 2 minutes and only check every 15 minutes or so.
most of the time I'm on 3g only mode . since I live in a city I got good coverage almost all over the city. only problem is that when there is no 3g available also my phone is unreachable. I don't really miss data connectivity when there is no 3g since 2g is so slow that I rather have no internet at all but not being sale to be called or texted is a major disadvantage...

Sent from my Nexus One using XDA App