[REQ] 2g on standby - Android Software Development

I recently found an app called data on demand, which switches data off when the phone goes on standby (eq. screen is off). My problem is that I would like it to switch the phone to use only 2g networks.
That way it would still fetch my emails and such, but it would also save battery life.
So perhaps some developer is interested in this?

Bump: old thread, but this functionality would be great. It saved heaps of battery life on my HD2, and now even though my galaxy s has half decent battery life, i'd still like to go for 2 days plus without charging

Did U tried this? h__p://lifehacker.com/5482663/juicedefender-saves-batteries-by-automating-android-data

Related

Battery live

Hi
Yesterday arrived my dev phone 1 and I am very hapy with it bu battery level is at 20% at 18:00. Is this normal?. I dont want to switch the band to 2g. I keep gmail synched with direct push but google talk not. anyone with same prpoblem?
Thanks
yeah, the standard battery in the G1 is ****ing terrible
not a lot you can do except buying an extended battery (which is a very good idea! )
The only thing I have found to extend my battery Life has been discussed previously a few times on these boards...
1. Turn off Wifi, when not in use. (Toggle WiFi from the Market is Great)
2. Turn off GPS, when not in use. (Toggle GPS from the Market also great)
3. Turn down the screen brightness.
4. (not sure if this makes a big difference) But sometimes if I do not need my feeds or background running apps throughout the day I will restart my phone, or run through a few applications that are not pulling web cache. This way you dont have auto update feedreaders in the background running. It seems like it works for me, but that could very well be wishful thinking. Also turning of things like Twitroid update etc...
Hope that helps.
recasper said:
The only thing I have found to extend my battery Life has been discussed previously a few times on these boards...
1. Turn off Wifi, when not in use. (Toggle WiFi from the Market is Great)
2. Turn off GPS, when not in use. (Toggle GPS from the Market also great)
3. Turn down the screen brightness.
4. (not sure if this makes a big difference) But sometimes if I do not need my feeds or background running apps throughout the day I will restart my phone, or run through a few applications that are not pulling web cache. This way you dont have auto update feedreaders in the background running. It seems like it works for me, but that could very well be wishful thinking. Also turning of things like Twitroid update etc...
Hope that helps.
Click to expand...
Click to collapse
i do #4 as well, it seems to help, since i have root i just go into terminal and type su [enter] reboot [enter] and when it turns back on its usually doing bettery with the battery
as for opening programs, would advanced task manager serve the same purpose (closing apps that arnt needed and using memory, because if its using memory isnt it in some way using battery power?)
Thanks.
I am porting CommMgrPro to Android (Similar to Locale but much more powerfull). In this way I will switch to 2G, turn Wifi off, disable connections, etc, etc, etc automatically depending on my location/weekday/hour.
Greetings
Dani
Hi All
I have a brand new G1 and, like you, I was suprised by the short battery life.
I also thought about selling the phone but apart from that problem I like it very much.
I noticed that the permanent 3g wireless connection was the real draining battery application.
So the solution I found now is: to disable the permanent connection. I downloaded APNdroid application from the market and I use it everytime I need to toggle connection on and off.
I also tried to leave the WIFI on and i saw that it does not consume much battery.
I did not tried with the GPS.
I am using a good tool to toggle and to fine check the battery level: Useful switchers
I can now say I am pretty satisfied with the phone.
Greeting
Lollo
lollonet said:
Hi All
I have a brand new G1 and, like you, I was suprised by the short battery life.
I also thought about selling the phone but apart from that problem I like it very much.
I noticed that the permanent 3g wireless connection was the real draining battery application.
So the solution I found now is: to disable the permanent connection. I downloaded APNdroid application from the market and I use it everytime I need to toggle connection on and off.
I also tried to leave the WIFI on and i saw that it does not consume much battery.
I did not tried with the GPS.
I am using a good tool to toggle and to fine check the battery level: Useful switchers
I can now say I am pretty satisfied with the phone.
Greeting
Lollo
Click to expand...
Click to collapse
Yes. It was the same problem there was in HTC Hermes/TyNT and TouchPro/Diamond. I created bandswitch in the past and will create two little toggles to switch 3g/2g with and without time limit....
Conditioning
Try Conditioning the Battery...
I have gps on, 2g, brightness at 50% and screen timeout at 30 secs, everything syncing and I get around 5 or 6 hours of use...just like the company says I should.
Run your battery completely dead...
Charge your phone for around 8-12 hours...
Repeat for about 6 days...
You should see improved battery life.
I have 3g, wifi, bluetooth, brightness at 50% and screen timeout at 30 secs, everything syncing with 1-2 hours of music/video with 30 SMS, about 20 mins of calls......I am now getting about 8hrs on the new ones from HTC (the 04).
Interesting Battery
Well now that I have had a week of use I have noticed that the (old) "02" batteries would last about 4-5hrs and go until 1% before turning off, with a slow count down. The (new) "04" batteries stay at a high number (about 6-7hrs) until they get to 15% and within a few mins turn-off....as I recall I saw postings of 'quick' count downs, so I wonder if you either get a slow drain down with about 4hrs of use OR about 6 hrs of use with the last 15% a very quick shutdown....I'll keep monitoring these new HTC batteries to see if it was just one of those "weekend" things or if this is the trade off...was caught off guard as I had been getting 30 mins or so when I had 15% left and the G1 would stay on until 1%..."teach an old dog new tricks".....

battery lasts only one dayy maximum

i bought my phone in june and i was little bit angry to see, that the battery lasts only one day by normal using it without bt, wlan and gps only sometimes internet and phone. i went to my vendor and it was sent to htc 3 times to get it repaired back, but it still exists the battery problem. now i read, that some roms are less battery catcher than other. which rom is good for saaving battery life.
thank you very much or are there other tricks to improve battery life.
mfg
dietmar
dietmarlechner said:
i bought my phone in june and i was little bit angry to see, that the battery lasts only one day by normal using it without bt, wlan and gps only sometimes internet and phone. i went to my vendor and it was sent to htc 3 times to get it repaired back, but it still exists the battery problem. now i read, that some roms are less battery catcher than other. which rom is good for saaving battery life.
thank you very much or are there other tricks to improve battery life.
mfg
dietmar
Click to expand...
Click to collapse
TC,
Are you using stock ROM or..? I've not change my phone's ROM yet and even until today, I get 3 days worth of normal usage (I charge my phone at about 20 ~ 35% range depending). I don't use it much for anything except being a phone, occasional web surfer, and very very importantly, an organizer/calender.
Also, do you leave applications running in the background? Do you close all of em? What is your brightness setting? How long does it take for your phone to dim the screen? Since I don't really care for 3G and HSDPA (couldn't even if I could), did you set it to GSM only? Do you turn off your phone module in signals with very low bars?
My point is, a lot of factors can affect battery drain, I hope the questions I've asked might help you better pinpoint what the problem seem to be. I wouldn't be surprised if the drain is due to the phone being in a constant 0 ~ 2 bar zone.
Cheers.
hello ,
thanks for writing back so fast
no i didn´t change or updated my rom with any roms which are able to be downloaded here. my phone was updatet when i brought it for analyzing in the htc shop.
i charge it always when it has nearly nothing anymore.
i use it for the same reasons you need. i use 3g because it was written, that gsm uses more battery than 3g
i always push down programs in the background only activesync is not easy to close
...... Do you turn off your phone module in signals with very low bars?
that i don´t know what you mean by "in signals with very low bars"
i also use mort player an windows player and by using these programs the battery drains a lot
thanks
dietmar

Psuh Email and battery life

Hi guys,
I just want to know, what battery life are you guys getting with push email turned on. I have to charge my phone almost twice a day with reasonable use.
10 emails
1 hour calls
4 sms
1 hour web browsing
(no wifi or gps)
I can get 3 days with push switched on if I only use 2G and don't use the phone very much.
ie. push isn't a big battery drain in itself.
Maybe push is not big battery drain but being connected to 3G or HSDPA network is BBBBBBIIIIIGGGG battery drain.
I can get through near the week (5 or 6 days) making a few phone calls and SMS with Data Off whereas with 3G on, I will barely last 2 days (and surfing in the train when going to work (2h), battery will not last a day !!). And as push mail implies data on, I would say that it has an impact !!
3G kills the battery.
You can still push email through 2g.
I wonder if someone can create a program that will automatically switch the modes on and off depending on the amount of data being transmitted?
aad4321 said:
still nothing out there to switch it to 2g when the screen is off huh?
Click to expand...
Click to collapse
THAT! would be an awesome feature.
Data = radio being used, display = live wallpapers and the amount of time the screen stays on plus other additions are a big battery drain but sync in itself isn't that bad even on 3G and I have a G1 with its crappy battery.
Check Settings...About Phone...Battery Use to see what is using the most power. This can help identify unexpected battery drain.
For example some people also forget about widgets that use data like the weather and news widget. To maximize battery turn off all "background data" apps that you don't really use.
Also get Advanced Task Killer and set it to auto kill apps that you don't want running long term (be sure to setup the exclude list for those you want running).
You can use the Power Control widget to enable and disable unused items like Wifi, bluetooth, GPS, and background data.
Set your screen brightness to as low comfortable. On my phone the screen uses the most battery so this is important. You can use the Power Control widget to increase brightness quickly if needed.
Use 2G to save battery. For most stuff it's really not that bad. Use Wifi when you can as uses less power than 2G and is faster than 3G.
I use my phone a lot and it lasts all day. I don't really care if it lasts longer than 16 hours or so if it does all the fun stuff I want between charges.
^Excellent tips! Welcome to XDA!

Really poor battery.

Hi guys, please bear with us on this one.
This is my 2nd Android phone, I used to have an Hero about 6 months ago. i really liked the front end but the screen was small so I upgraded to an HD2 which I still have. On the HD2 the screen is huge but Win Mobile lets it down a bit. The marketplace is expensive and very limited and the amount of apps for Win Mobile seem to be getting less and less, especially supproting the 800x480 WVGA screen on the HD2.
Anyway I was due an upgrade and Orange offered me the X10 for £20 which i couldn't refuse. I am trying to like the phone but the biggest issue for me is the battery. I did the usual of leaving it plugged in for 16 hours as recommended by orange etc. If the phone is on standby I seem to get around 8 hours and the battery will be down to about 40% remaining charge. That is on standby with the top button pressed and the phone on a black screen. This is really poor considering the HD2 can run almost 2 days on standby before loosing 60% of its charge.
Anybody got any suggestions on how to improve this? Would it be wise for me to do the debrand as mentioned in other threads? It is currently on build R1FA014.
Thanks for the help.
The battery will improve in time, after a few weeks of use the X10 will loose 1-2% of battery each 2 hours (at least my X10 R1FA016 and two of my friends X10 R1FA014 do). This is with 3G on, wifi sometimes on, GPS sometimes on. Just give it some time. I think the X10 is one of the best smartphones out there. There is an extensive thread on Power Usage which can be found here: http://forum.xda-developers.com/showthread.php?t=657265
In the end it comes down to:
-Give it some time
-Disable auto search for software updates (settings>about phone>update)
-Wifi seems to drain sometimes
-Streaming drains.
Thanks for the pointers Vin87, I have got wifi turned off now but I am at work for the next 7 hours and I only have about 28% charge remaining
I'm going to have a good read through the thread you mentioned all 50+ pages LOL.
I do like the phone and for the cost I am going to keep it and hopefully we will get some new updates soon?
It gets better...way better. 13 hours since my last charge, and it's at 71%. I've been using it every now and then, Facebook, sending emails ect.
Great battery life now!
From a work perspective, I miss the X10 having a dock.
With my G900 each time I returned to my desk,I would throw it the dock and so it was receiving a charge throughout the day, the X10 is more fiddly as you need to play around the the flap and then figure out which way to plug in the mini-USB cable...
I wish they had chosen a better connector than the mini-USB as the standard, as it's not that easy to quickly connect it....
I could almost throw my G900 at the charging cable and it would connect.
Basically (if you want to use the smartphone):
1. In the beginning you will use the phone a lot. Installing apps, trying apps, games, music etc. so the battery drains faster. When you will stop pushing the phone to the limit will be better
2. Wait for a week, the batter will get better.
3. Get a task killer/boot manager and set it to autokill moxier. Don't kill other apps
4. Set facebook/twitter sync at 1h (or more) if you are not a hardcore fan of this social platforms.
5. Email: if you need instant notification there is not much you can do. If you don't need it, disable background sync and sync manually.
6. Disable location using wireless networks.
7. Wifi/3G: if you need instant notifications, wifi will drain your battery pretty fast but if you don't have 3G data plan like me, there is no other choice. If you have a good 3G plan, you can set wifi sleep policy to turn off wifi when phone goes to "sleep". Also, you can use this together with Juice defender free to turn 3G on 2 min every 3min to get notifications so, you will save even more battery.
8. Enable bluetoot/gps only when you use them and keep them disabled when not.
9. Set brightness to manual and around 25% when you are indoor and "sleep time" (screen timeout) to 30sec
10. Oh, i forgot, disable search for software updates and if you didn't install too many things, try a factory defaults. Some people did a SD card format (be sure you save everything first) and reported battery improvement.
If you want to use the dumbphone inside then turn everything off (BT, GPS, 3G, WIFI, Twitter/Facebook, email, background sync, etc.) and your dumbphone will last way longer

Battery life went from poor to awesome to even worse?

Bought my Xperia just over a month ago, and installed juicedefender and juiceplotter to help manage my power use.
At first, I did the whole charging cycle thing, and managed to get battery life up to nearly 20 hours after a week! In the past few weeks however, my phone barely lasts 10 hours now...the battery dies before I can get a chance to recharge. I am a heavy user, but that doesn't seem to explain the sudden drop in battery capacity.
Because of the drop in power over the last few weeks, I have set EVERYTHING to not update, and google sync has been set to sync every other day.
Will my battery just continue to get worse? or do I have a faulty battery?
don't get me wrong, I love my new phone...I just need to know if this is a typical problem, or if I need to get a new battery.
Thanks!
Hi - I'm getting about 40 hours out of mine.. I tend to switch mobile data off when I'm at home as I use wifi.. the problem seems mainly to lie with 3G.. so when I'm out and about I switch wifi off and mobile data on.. but I tend to keep to 2G (GSM) for background syncing etc.. and switch 3G(GSM/WCDMA preferred) on when I want to do any active stuff.. like internet browsing of using the XDA app... I also have my Wifi sleep policy set to "sleep when screen is off"..
What do you use your phone for? if you can tell me a bit about how your using your handset I might be able to give you some more specific advice.
Thanks for the fast reply!
I use juice defender to switch off 3G when the screen is off. It connects every 15 minutes, could that be the issue?
I've looked for a way to switch to GSM, but I can't seem to do it with my carrier(don't have the option in my settings).
I use a lot of data, up to 3 gigs per month 3G only(on average). 4 or 5 calls a day, and probably 100 texts per day. I keep my screen at around 25% brightness.
If you can't switch to GSM then maybe try switching mobile data off all together when you're not using it..(when travelling etc)... (far from ideal I know!).. but it might help.. I think that the 3G radio isn't sleeping properly.. the new software update which is due out anytime now MIGHT solve it.. but only if you're either on an unbranded handset (sound like you're not) or your carrier pushes the update through to you...
The other things you can try is to switch off "Search for updates automatically" in the phone settings... and switch of determine location by wireless networks (in the location settings menu)..
There was a thread about auto brightness causing constant cpu drain, leaving it autobrightness is thought to be battery kind`er.
Ive stopped using task managers and just use default android control and its good for my battery. I check the ram availability occasionaly and though it gets down to around 30 or 40 or meg it shows no slowdowns or hangups but I do reboot after charging every other night.
I'm experiencing similar behavior: poor, then good, then poor, then good again, of course with similar usage. I don't use any task killer and have 3G always on. I have tried 3 different batteries: the stock one, the one from my X1, and the 1800 mAh from Mugen: same pattern with every battery.
I definitely think that there's something bad in the design of the power circuitry and/or in the kernel.

Categories

Resources