GPS and battery life on the G1 - G1 General

Hi !
I found following Post and think this might be interresting for you,....
http://elfurl.com/i9why
GPS and battery life on the G1
Lots of users/developers assume that if you enable the GPS you will drain your battery more quickly than if you don’t. While this may be true on the iPhone, on the G1 it is actually not true.
Your GPS is simply a radio receiver (k band). On some devices the radio needs to be enabled to get a ‘fix’, but on the G1 the k band radio is ALWAYS on. The G1 uses the radio for several phone features instead of using another band. As a result regardless of whether or not you have your GPS on the radio that receives the sat signals is on - the battery life of your phone won’t be different. This is great news for developers.
There is an open source project that provides a service that location dependant applications can use to ‘pre-fetch’ location data so that it is ALWAYS available regardless of whether or not you can get an immediate GPS fix. It also fixes another problem - the time it takes the GPS to obtain a fix (30-60 seconds). Whenever you use ShopSavvy to scan an item we need to figure out where you are to give you a local price. Even if you can get a GPS fix when you scan a barcode, we might not be able to get the GPS coordinates before we provide the pricing results - as a result you won’t get local results. By prefetching your location regularly we can use the last known result which is likely very close to your current location.
Anyway, turn on the GPS!
Click to expand...
Click to collapse

On my UK RC8 it specifically warns that turning on GPS satellites requires more battery.

aliburns said:
On my UK RC8 it specifically warns that turning on GPS satellites requires more battery.
Click to expand...
Click to collapse
As do RC33 and ADP builds. While Big In Japan makes an interesting argument I'd like to see either some good evidence or Google engineers input before leaving it on all the time.

How about the fact that even when it is "on", it is not actually "on" unless you see the icon in the notification bar.

lbcoder said:
How about the fact that even when it is "on", it is not actually "on" unless you see the icon in the notification bar.
Click to expand...
Click to collapse
That automatically doesn't tell me it's not actively sync'ing with a satellite and burning juice. Along those same lines do any of the battery monitoring apps on the Market actually work? As in, do they give you reliable battery draw levels over a period of time?

uberingram said:
That automatically doesn't tell me it's not actively sync'ing with a satellite and burning juice. Along those same lines do any of the battery monitoring apps on the Market actually work? As in, do they give you reliable battery draw levels over a period of time?
Click to expand...
Click to collapse
Watts seems to work rather well. It also tells you what is causing the battery to drain as it reads the Android log files.

Your GPS is simply a radio receiver (k band).
Click to expand...
Click to collapse
Well, the K band is 20 - 40 GHz, but GPS (the non-military L1 frequency) is at 1575,42 MHz.
The other parts of the blog post sound similarly 'imaginary' to me.

Battery Drain G1
Guys,I own a T Mobile G1 Android 1.6 Phone and recently I’m facing some problems. The problem that appeared recently is with the battery drain. before some days ago the battery of my G1 lasted up to 4-5 days, without using Wireless, GPS, and Bluetooth. If I used the mentioned services normally the battery lasted up to two days. But recently the battery is draining too fast. Within 4 hours the battery goes down less then 15% even I do not use any mentioned services. I keep my phone on standby, without talking a single minute with the phone, not using any service etc, and again it goes down very quick. I took some measures according to HTC instructions how to save the battery but again it does not function. I uninstalled all applications and reset the phone to factory setting by again same thing. Then I searched on the Google some instructions, I tried also that one’s but again it does not function. I always used HTC charger that came with the phone but again same problem. What is the strangest thing that after some days the battery gets back and works perfectly for two weeks, which means I use the phone normally without charging 4-5 days. As I operate very well with the smartphones, Pocket PC’s etc I start analyzing G1 and monitoring very closely why the battery goes down, I monitored for a long time the query under the :About Phone-Battery use- and I see there that Andorid OS is using the battery from 76% up to 85%. Now it came to my mind that something is keeping engaged or it keeps running the Andorid OS always on. Then I suspected that thre my be any virus on my phone, but I installed form Market Flexilis/lookout antivirus application, but there was no virus and again the battery goes very quickly down. As I said after sometime the system returns to normal and the battery lasts for 4-5 days, and when I check the information under Phone,Battery use, I see that the Andorid OS is spending only 6% of the battery. Comparing with the previous description it is a huge difference. According to my opinion there is a small problem with any file which keeps always running to much the Andorid OS. Can you please give me any instruction why Andorid OS is spending that much the battery? Or give me any instruction how to prevent this operation that keeps Android OS to much engaged? or is there any programming mistake?, is there any need for update?, do I need to root my phone as it is not rooted? The reason why I’m thinking that there is a technical problem is because sometimes the system gets back to normal and sometimes it goes out of normal running. I appreciate a lot if you could help me to resolve the mentioned problem.

Related

Battery Drain on XDA II

Hi,
I have a very recently purchased XDA II.
I was under the impression that the battery time was considerably improved.
Although I have turned down the backlight brightness when on battery power, it still starts to loose power when I receive or send a SMS for example.
Is this normal or do I have a duff battery ?
Steve
try turning off bluetooth when you dont use it
it's suppose to be a batt hog
Yup,
done that. I only have BT on when I am actually using my headset.
Any other idea's
Steve
when does it auto turn off ?
when does the backlight turn off ?
are there any SD cards connected seem to recall that they eat batt aswell
I've had mine a week, have the same power drain problem. After charging it all last night I managed to use it as a PDA for a total of 40 mins over a 6 hour period today before the battery drained. No phone calls were made, Bluetooth disconnected (I do have a 256 MB card installed, but I don't know if this has anything to do with it), furthermore the backlight is set to the default setting and the auto power off set to 1 min. In any case I would expect to get more than 40 mins use of the PDA, the specification states upto 15 hours.
I took the unit back to the store, they say that this is a rare problem (yeah right :roll: ), they gave me a new battery which I am now recharging, hopefully this will work.
mmmm, it's very strange.
I am doing a test now. I have a imate with the official imate upgrade. I have a gps sysonchip bt. One and half hours ago i connected the imate with the gps and i started a demo of 500 km. Now the battery is at 75%.....Maybe de last upgrade solved this problem.... :shock:
You should get far better performance than this.
Three things that can drain the power:
Communications/Peripherals - IR, bluetooth, SDIO wireless LAN etc. Disable all of them unless you're actually using them.
Processor hungry programs - check if you have anything running in the background that could prevent the device switching to full sleep mode.
Lack of radio signal - if you're out of contact with a base station, the device tries to connect at full power every 30s - a big battery drain, so if you know you're out of contact, turn off the radio.
However, even with everything running, I'd expect a running time way above 40mins, so it sounds like you have a hardware problem with your device. I easily get 3h full brightness, full processing (ie watching a movie or playing a game) with radio on.
Turn IR off?
Is there anyway to actually turn the IR off on the XDA II?
Just the Start-Settings-Connections-Beam-Receive all incoming beams checkbox.
tried the new battery today, same procedure as yesterday (no bluetooth etc), had a slightly better performance today from the new battery, managed to get roughly an hours actual use out of the PDA (games etc) over a period of... 10 hours, ooh atleast it lasted the working day so must be better... however still no way near the 15 hours PDA work time as stated on the box!
However something I have noticed is that every now and then (after switching off the unit and just leaving it on the desk) the screen comes to life displaying a running program, (just how do you turn off the media player? I now realise it isnt with the "X"). Anyway why does it "power" back up? I wonder if this has anything to do with my power problem, that perhaps it has switched back on whilst in my pocket (BTW I have set the buttons so that they do not switch the PDA on accidently)
So, I'm recharging again, (I think I might take the MMC card out see if tht makes a difference). I expect something better for my EUR 500, what is the point of being able to go online anywhere if you have to be plugged into the mains! If I can't get the damn thing to work satisfactoraily by next week then it is going back to the shop, despite it being a Gucci shiny piece of kit!
@MoistVelvet: Actually, it;s not so much the device itself but the operating systems that is the cause of a few quirks. Luckily, a lot has been written on this forum and other forums on websites such as www.ppcw.net. A lot can been improved by limiting the number of programs that can be found in the \windows\startup folder of the XDA II. I'd suggest you have a look around in the various topics. I ended up honing my XDA II to a point where I am actually very very satisfied with it's performance ...
Can someone repost the items in the windows start up folder than can be deleted and what they do on the XDA II.
I was surprised at the amount of apps in there, but dont know what I can safely delete.
Steve
Wiz,
thanks for the tip, I'll have a look around.
Well the batery did last longer yesterday, managed to get through a whole workig day before it ran out, so the jury is still out!
Realised perhaps one of the reasons why the unit would switch itself on, whilst at work I have a very low signal, so every minute or two the signal strength would go up and switch the screen on. I have set to auto switch off after 1 min, but I wonder if there is there a way to stop it from switching on?
Hm, my experience is quite different. I use it throughout the day with around 15 phone calls, at least 2 GPRS synchronisations, some other usage of contacts, calendar and email and when I get home it's still around 60 percent - the most drain appears to happen on the way back home when I use the BT headset...
When your uses so much more power you may like to check what kind of programs you use. First idea is to have a critical look at fancy today plugins... my worst experience was with Battery Pack, the best way to empty your battery :lol:
Maybe you like to use UpTime plugin (http://ae.inc.ru/uptime_t.html) which really tells you how much you actually use the PocketPC and which doesn't do anythings while it's switched off...
MoistVelvet said:
Wiz,
Realised perhaps one of the reasons why the unit would switch itself on, whilst at work I have a very low signal, so every minute or two the signal strength would go up and switch the screen on.
Click to expand...
Click to collapse
Actually, the reason it periodically switches on is the O2 Homezone application. Whenever your phone changes to a new base station (which can happen even if you don't move), the stupid Homezone app turns the phone on. This is a known issue, and the only known remedy is to disable the app completely (remove from Autostart folder, soft reset phone).
Cheers
Daniel
Hi
I have an xdaII, which i load loads and loads of things onto. I did find that the battery was draining quite quickly. eg. charge it all night, just leaving it running in the day with hardly any use would drain the battery by about 90 percent! Bluetooth was off etc.
One time, the thing drained completely, and it needed a hardboot. Im going to send it back shortly for investigation/repairs.
However, since it hardbooted, i have not installed a thing. And i am finding that the battery is lasting a lot longer. I managed to go 3 days, of average usage, (few incoming/outgoing calls), without charging the battery!
This makes me think some apps must cause the battery to drain. I had battery app installed (that runs in today screen). I had fonix voicedial installed. I had quite a few games installed.
I think some software was causing the battery consumption,.. possibly battery pack.
re
I have previously had problems with battery drain, due to apps running in the background.
I also found specific apps like the battery pack, LAN sdio, bluetooth and the camera app, would drain the battery quickly.
Although you can manage closing apps down through settings/system/memory/running programmes I found the app Gigatask http://gigatask.com/ a simpler way to manage tasks.
There are others, but I found this suitable for my needs.
Now when I close an app I know it's closed and not running in the background draining the battery.
I still charge daily, habit now when I get home from work, but I have no worries about battery drain, and it rarely goes lower than 65% for a normal days use.
Cheers, Shire
turning infrared beam recieve off will help a little
:wink:

Battery Draining Bug?

I think I've discovered a bug on the X that's causing battery drain.
I installed Spare Parts and saw my phone had been unplugged for about 12 hours and that my phone was been Running (not sleeping) for 100% of that time.
After being methodical and getting data points after opening various programs, I determined that after I opened any program that accessed the GPS, the phone no longer would go into sleep mode.
To get the phone to start sleeping again, all I have to do is toggle GPS off and then back on again.
It's completely reproducible every time on my phone.
Now, I don't know what kind of effect this will have on battery life, but seems like it probably would have some effect.
If others can test this and see if it affect you at all, it'd be helpful to see if there's a potential major software bug here or if it's just something with my phone.
Easiest way to test is to start with a fresh reboot with GPS toggle on, install Spare Parts, plug in the phone for a second (to reset the counters), let it sit sleeping for a few minutes, then read the Running % in Spare Parts. Should be pretty low. Plug in the phone to reset the counters again. Then start Google Maps or any other program that will activate your GPS. Close that program and then let the phone sit idle for a few minutes. Check Spare Parts running time again and, for me, it's pegged at 100%.
It stays like that until I toggle the GPS off or reboot the phone.
Very curious to see if others get the same results.
lexluthor said:
I think I've discovered a bug on the X that's causing battery drain.
I installed Spare Parts and saw my phone had been unplugged for about 12 hours and that my phone was been Running (not sleeping) for 100% of that time.
Click to expand...
Click to collapse
I'm not trying to flame... but, after 12 hours your phone was unplugged, and still working... battery drain doesn't seem like a huge issue for me based on this information.
I would recommend an app called Tasker. I use it to turn gps off when it's not in use. I open google maps, gps starts. I close maps, gps off. I put my phone into the car mount, bluetooth starts, gps on, pandora on. unplug it, then everything off. I can have the cell radio off at night, but come on every 30 minutes to check for sms, email or whatever. I have Wifi turn on automatically when I get home, based on gps of course, and when I get out of the car, gps turns off and wifi turns on.
It saves a ton of battery for me, and might be something you'd appreciate. I have my phone running on performance mode all the time, and it still lasts all day and has 30+% to spare when I go to sleep. I'm a heavy user. almost 4GB of data this month with no tether.
That's not really the point.
The point is that there's potentially a bug with the phone that's not allowing the phone to go into sleep mode.
Seems like that might be a pretty important thing.
Point blank, the Droid X is one of the only Androids who last more than on day on the same charge! And what you all don't know is that if you use the blk taskbar and services.jar V.8 from teenfaces you will literally double or triple your life!
I have been unplugged for about 7 hrs and still have a sturdy 70%. All this with a normal discharge rate of about 5% every hour! That'd not bad! But then you have ATK set to aggressive... then the batt manager set to smart then cache mate running at full blast clearing caches every half hour. Plus the apps are killed and shut down when te screen ia off! So technically the X is dead till you power it up!
Take a look... I promise many will agree, that is if they did it right and are using V8.
Sent from my DROIDX via Telepathic DLNA.
What in the world is services.jar V.8 from teenfaces?
Ok, so then both of you are saying that the fact that the phone doesn't ever go to sleep once the GPS has been activated (even after the program that did so exists), isn't an issue?
Seems to me that you can only further improve battery life by having the phone sleep when it's not being used.
But who am I to argue I guess.
Seems like you dint understand my previous post. There is mod to change the task bar and shade. Like V8 is the latest with the services.jar replacment. Now how this affected my batt life i don't know, but, it did.
Now i see a lil longer batt life than with the original items.
Sent from my DROIDX via Telepathic DLNA.
this post is hilarious.
homeboy is trying to get bug testers, and people are talking about how to change the color of their taskbar : /
ixobelle said:
this post is hilarious.
homeboy is trying to get bug testers, and people are talking about how to change the color of their taskbar : /
Click to expand...
Click to collapse
Lol yea. Im gonna head home and try what ur saying. I use tasker for turning wifi on and off for maps and the new google places thing (because most of the time im in buildings) but maybe i should use it for gps too. My friend with the evo has his turned off all the time he says its a huge battery drainer. I say how could that be if it only runs when the icon is up. But this might just explain that as well.
Also other logging programs might keep it awak but this one ur suggesting doesn't i take it. Good to keep in mind. Will update later today
Sent from my DROIDX using XDA App
Sorry, I guess I'm lost/confused.
No one really has a concern that this is a potential system problem that's causing excess battery drain?
I do we still don't have an extended battery im very curious to what we can do with the battery life. If this is true id imgine tasker is the way we would go around fixing it. But went we getting 2.2 next week? Maybe that will fix it. Like i said when i get home im going to try what u said when i get home
Sent from my DROIDX using XDA App
Just noticed something, I formated my phone just today. (for some reason i had to activate again. is that normal never had to do that with my WM phone when i would put roms on it and stuff)
During setup it asked if i wanted to share anymous location info to google, which i know the fist time i said yes (actually maybe the guy at verizon said yes for me) in any case it says under it something "will anonymously collect your location data even if a location app isn't running"
which could explain why it stays on when the gps is on
if you can go into your system settings and it's on for you try turning it off and see if then leaving the gps switched on will still keep the phone on.
mavermc said:
Just noticed something, I formated my phone just today. (for some reason i had to activate again. is that normal never had to do that with my WM phone when i would put roms on it and stuff)
During setup it asked if i wanted to share anymous location info to google, which i know the fist time i said yes (actually maybe the guy at verizon said yes for me) in any case it says under it something "will anonymously collect your location data even if a location app isn't running"
.
Click to expand...
Click to collapse
I think that's the option in settings->privacy, which I turned off the other day, so I don't think that's it.
Good find. Seeing the same thing. Repeated your test, and yep, system stays on till gps is bounced.
Certainly doesn't look right. Is it that once satellite fix is established, it's maintained (even if not used)? And on GPS on/off, the fix is lost and the system forgets about GPS till it's actually called?
Next step would be to see how it affects power consumption. Will try to run some more tests later in the day.
Is there an easy way to test power drain? it'll be very interesting to see what effect this is really having.
lexluthor said:
Is there an easy way to test power drain? it'll be very interesting to see what effect this is really having.
Click to expand...
Click to collapse
Unfortunately with the Droid X only showing battery power in 10%, it's not easy to discern small differences without waiting for hours.
I wonder if looking at the voltage would offer more precision. But, not sure how reliable that is. After all, if it was, why wouldn't the 3rd party battery meters use that to show more precise % readings.
exempli_gratia said:
Unfortunately with the Droid X only showing battery power in 10%, it's not easy to discern small differences without waiting for hours.
I wonder if looking at the voltage would offer more precision. But, not sure how reliable that is. After all, if it was, why wouldn't the 3rd party battery meters use that to show more precise % readings.
Click to expand...
Click to collapse
You'd actually have to write an event for every single percent in the Android system for anything to detect the battery much more accurately and Motorola is too lazy to do that. Its only gonna show every 10% because thats what Android was programmed to show.
just an update, i said no to google doing it's data mining off my gps. but then i found in location, when i check "use wifi" it asked me again. My guess is thats how they know where you are when you turn on wifi, because if you want that feature you also have to be used in mining data of where the wifipoints are physically located.
So maybe that has something to do with it.
Saw this on Android Central Yesterday.
I can confirm it, when used with fancy widget. When standard weather app is used, no major power drain. Fancy widget seems to pin the GPS and run it hard the entire time.
hijackerjack said:
You'd actually have to write an event for every single percent in the Android system for anything to detect the battery much more accurately and Motorola is too lazy to do that. Its only gonna show every 10% because thats what Android was programmed to show.
Click to expand...
Click to collapse
I would think that if Android had 1% events some app would take advantage of it (there are certainly plenty of battery monitors in Market). But I don't know of any that show anything other than 10%. The HTC phones do 1%, and the battery widgets on HTC phones show likewise. Must be a Motorola implementation limitation.

Network location major battery drain

After a couple days of normal use I started getting frustrated that my battery wasn't lasting very long and that Android System was consistently the top entry on the battery use screen. Time for some investigation.
I got adb working and logcat revealed that my phone was doing a lot of network location fixes. One would trigger every couple minutes even when the phone was sleeping.
I turned off network location and the results are stunning. With two hours off the charger so far this morning, my battery still says 100%. Cell standby and Phone idle are now my top battery use entries, with Android System a distant third.
The problem, of course, is that I like using network location. On demand GPS fixes are slow and do not work in many of the places I want to use location. I want to figure out if the G2's Android build is just doing location fixes too often of if the problem is really my poor signal problems in most of the places I go. I wonder if my phone is constantly jumping towers, triggering location fixes.
This is where you all can help:
Are you experiencing high battery drain with network location on?
Is Android System at the top of your battery use list?
If you know how to use adb logcat, are you seeing a lot of network location fixes?
My next step is to try logcat with my G1 running CM 6.0.0 and see if it also does frequent location fixes.
TLDR: Turning off network location dramatically increased my battery life. Trying to figure out if the problem is caused by software or by my low cell signal.
I had this exact same issue on the G1. I heard once that it was related to the GPS running frequently even when the phone was idle. Just disable the network location option and you'll continue to be good to go.
Is it definitely not a 3rd party app doing this?
I leave network locations on and my battery lasts.
How funny you bring this up as I jsut did this this morning. However a little differently.
Ive been noticing huge drains. Well, I have the Battery Watcher widget, and have seen the Android System was taking up like 45% of the drainage with things like
VPN Services (huh???)
Google Backup Transport
Setup (again, huh???)
Network Location
Android System
Settings Storrage
HTC Checkin Services
Account and Sync Settings
All I turned off was Background data, and for the last 2hrs, my battery has been @ 100%, and Im running both Tweet Deck and Trillian with 3 - 5 accounts on each
Jorsher said:
Is it definitely not a 3rd party app doing this?
I leave network locations on and my battery lasts.
Click to expand...
Click to collapse
I don't think it's a third party app because I turned everything off on the few apps I have that use location. I will definitely do some more testing by uninstalling apps this evening to see if anything changes. There is one app I can think of that could be doing this, but it was never a problem on my G1 (or maybe I just expected bad battery life on my G1).
Edit: Wow. At 3 hours and 10 minutes off charger now and still 100% battery. I hope I can find a third party source for this problem so I can use network location and get great battery life.
swags said:
I don't think it's a third party app because I turned everything off on the few apps I have that use location. I will definitely do some more testing by uninstalling apps this evening to see if anything changes. There is one app I can think of that could be doing this, but it was never a problem on my G1 (or maybe I just expected bad battery life on my G1).
Edit: Wow. At 3 hours and 10 minutes off charger now and still 100% battery. I hope I can find a third party source for this problem so I can use network location and get great battery life.
Click to expand...
Click to collapse
Yeah... I'm not using any location-using apps except what was preinstalled, with the exception of SpeedTest. Battery works just fine and I only see GPS if I'm actually using the app. I could do some logging later I suppose to see if it's being used more than I think, but the battery life definitely isn't suffering.
swags said:
After a couple days of normal use I started getting frustrated that my battery wasn't lasting very long and that Android System was consistently the top entry on the battery use screen. Time for some investigation.
I got adb working and logcat revealed that my phone was doing a lot of network location fixes. One would trigger every couple minutes even when the phone was sleeping.
I turned off network location and the results are stunning. With two hours off the charger so far this morning, my battery still says 100%. Cell standby and Phone idle are now my top battery use entries, with Android System a distant third.
The problem, of course, is that I like using network location. On demand GPS fixes are slow and do not work in many of the places I want to use location. I want to figure out if the G2's Android build is just doing location fixes too often of if the problem is really my poor signal problems in most of the places I go. I wonder if my phone is constantly jumping towers, triggering location fixes.
This is where you all can help:
Are you experiencing high battery drain with network location on?
Is Android System at the top of your battery use list?
If you know how to use adb logcat, are you seeing a lot of network location fixes?
My next step is to try logcat with my G1 running CM 6.0.0 and see if it also does frequent location fixes.
TLDR: Turning off network location dramatically increased my battery life. Trying to figure out if the problem is caused by software or by my low cell signal.
Click to expand...
Click to collapse
It's generally well known/accepted that turning off location services will show drastic battery improvements.
arich said:
It's generally well known/accepted that turning off location services will show drastic battery improvements.
Click to expand...
Click to collapse
I think there is a fair amount of debate on just how much network location does impact battery. Maybe it's just a matter of what sort of battery life people expect. I'm trying to figure out if there is any way to reduce the battery drain from network location, particularly by reducing the frequency of location fixes while the phone is asleep.
It looks like network location is very different on my G2 compared to my G1 with CM 6.0.0. While the G2 appears to check the network location every minute, the G1 only seems to do it on demand. On demand makes a lot more sense. Does Google really need to collect where I am every minute of the day?
Does anyone know if leaving gps on will render the same (or better) results, while facilitating it's functions on demand rather than random sampling via network location?
I read somewhere that leaving gps on, doesn't necessarily drain the battrery unless actively being used.
When I leave GPS location on with the phone sleeping I do not see any location activity in logcat. I think GPS location is purely on demand.
After playing around a bit yesterday, I don't think any apps that I installed are causing the constant network location fixes. That's not to say that one of bundles apps isn't misbehaving, of course. What I have noticed is that while the phone seems to do a location fix every minute normally, additional locations requests will occur when apps are actively seeking the location. It looks like all these requests may not actually be location fixes, but instead simply getting the location already stored in the system. Nonetheless, this is causing CPU activity and draining the battery.
I'm not sure where to go next with this, but am open to any suggestions.
Having this issue as well... android system is in the highest partial wake and when I turn off location services via network, it does it less. So does anyone know why location needs to keep going on and on?
BriEE said:
Having this issue as well... android system is in the highest partial wake and when I turn off location services via network, it does it less. So does anyone know why location needs to keep going on and on?
Click to expand...
Click to collapse
When you enable Use Wireless Networks under Location, it prompts you that it will collect background data for Google. That's why it's a battery drain
Curious for anyone on the Sense ROMs - is there a way to get the weather widget to work without enabling Wireless Network Location? I have GPS enabled, and Fancy Widget worked fine with just that, but Sense won't update location w/o Wireless Networks enabled it seems.
FYI, this problem went away for me completely after I did a factory reset a few weeks back. The constant network location activity in the logs went away, and I've been able to leave network location on full time since then with no significant battery drain. The one thing that I may have done differently was that I never ran many of the bundled apps that use location after the reset.
How can I check in logs for which network activity runs?
Use aLogcat from the market or, if you are familiar with adb, use adb logcat from your computer.
swags said:
Use aLogcat from the market or, if you are familiar with adb, use adb logcat from your computer.
Click to expand...
Click to collapse
I have both options since I have quick system info and adb installed on my PC as well.
but what exactly am I looking for?
I don't recall what the exact entries are, but if you're having the network location problem that I was it is hard to miss. There were log entries that clearly indicated checking the location every minute, even while the phone was in sleep. It's probably easiest to check with logcat because you can let the phone sleep and monitor the log without all of the activity that occurs only when it is awake.

My test & results regarding the 60mA standby high battery drain in Android -PLS READ

My test & results regarding the 60mA standby high battery drain in Android -PLS READ
Hi all. This is a continuation to the thread here but as that thread is full of theories and speculation I figure I'd start a new thread with 'real world' results when it comes to this battery drain issue in Android.
I've been trying hard this weekend to replicate that's been causing the seemingly spontaneous leaps to high battery drain in standby.
I can confirm, at least on my end (UK HD2, WM6.5 CleanEx, Android Darkstone SuperRAM 1.5) that enabling airplane mode in WM before booting android DOES NOT stop the high battery drain.
It seems, at least right now, that the battery drain in indeed caused by the GPS module either being or having been active in Android.
This morning I was having regular 5-9mA drain in standby. I enabled GPS on the way to work, took the phone off the charger and BAM... 60mA in standby thereafter (long after closing all GPS-enabled apps).
Rather than rebooting or anything like that, I plain disabled the GPS module via the Power Control widget (you can add it to part of your homescreen). Switched backlight off and on again a few seconds later... 5-9mA drain (and this is with WiFi enabled)
Here's a test I've just done.
Conditions:
- Loaded DarkStone's Froyo SuperRAM 1.5.
- WiFi, Data, Sync, Auto-brightness, 3G+2G enabled. Bluetooth isn't enabled.
- I won't be rebooting, using task managers or anything like that in between tests as I want to find a 'practical' solution to this issue until a fix is found. Rebooting, waiting for a GPS lock, etc every time you wish to put your phone in your pocket isn't practical.
- If I report ~5mA this is just what's being said by CurrentWidget. It may spike a few seconds later but we can, I think, safely assume that there is a major difference between ~5-30mA readings and ~59-90mA readings.
Results:
1. ~5mA to ~10mA in standby since disabling GPS in Power Controls.
2. Enabled GPS control again and we're up to ~59mA to ~90mA in standby.
3. Kept GPS control enabled but disabled "Use wireless networks" in Data and Security - ~59mA in standby (NOTHING LOWER!).
4. Disabled GPS from Power Control widget again and we're back down to ~9mA
5. Kept GPS disabled but enabled "Use wireless networks" in Data and Security, then opened Google Maps to get my location based on cell tower. Switched screen off. ~10mA in standby.
6. Enabled GPS again - ~60mA in standby
7. Disabled GPS again - ~9mA
Conclusion:
There seems to be a serious problem with the GPS module/driver/whatever under Android when it comes to power management!
SO - it seems, at least for me, that the only solution to this issue right now is to disable GPS altogether and renable it when I want to use a GPS-based application. This isn't great as these wonderful devices are heavily built around being able to keep track of your and friends locations, movements and all other GPS-orientated tasks.
So +1 for an urgent call out to the devs to took further into this issue! Please everyone keep posting your results as this is the biggest, if not only, thing keeping me and I'm sure others from saying Android is perfect for the HD2!
On another note - I also find that the battery discharges when GPS is enabled (e.g. running Google Navigation or Sygic Aura) even whilst plugged in to my car's 12v port via USB adapter. This isn't *always* the case, but it ALWAYS can only 'trickle charge' at best... i.e. An hour on the road using GMaps/Aura will, at best, have around 7% put back into the battery. Under WM with TomTom active the phone would have charged/held its charge quickly. This makes using Android on the HD2 for long trips pointless.
Hope these results help weed out this issue that's been driving me and many others insane for a long time!!
I'd like to elaborate on my last point a little more. The stuff about the battery drain / lack of fast charge in the car with GPS enabled.
I disabled GPS and plugged the HD2 into my 12v, it charged pretty quick. As soon as I enabled GPS and ran for example Google Navigation it would either lose %s despite being plugged in or just *barely* charge after being plugged in for a while.
Remember I have no problem charging and holding charge in WM with GPS active. I had a similar problem with my HTC Hermes in-car years ago.
So this again points to the GPS chip or driver putting excessive strain on the battery, under Android.
Who else has been using Android for Navigation in their car and noticed this?
I will switch radios but I've been though probably half a dozen radios since Android came to the HD2 and experienced this problem with all of them!
SMS92 said:
I'd like to elaborate on my last point a little more. The stuff about the battery drain / lack of fast charge in the car with GPS enabled.
I disabled GPS and plugged the HD2 into my 12v, it charged pretty quick. As soon as I enabled GPS and ran for example Google Navigation it would either lose %s despite being plugged in or just *barely* charge after being plugged in for a while.
Remember I have no problem charging and holding charge in WM with GPS active. I had a similar problem with my HTC Hermes in-car years ago.
So this again points to the GPS chip or driver putting excessive strain on the battery, under Android.
Who else has been using Android for Navigation in their car and noticed this?
I will switch radios but I've been though probably half a dozen radios since Android came to the HD2 and experienced this problem with all of them!
Click to expand...
Click to collapse
check your hd2 if it is charging as USB (charge only) or as a regular charger. That happened to me when I used the wrong cable for the charger.
You should definitely try recalibrating your battery, and as jose mentioned, if you're using a charger\cable that isn't meant for your device it will slowly damage your battery.. so I would recalibrate and wipe batt stats. Also, using EBL set to 3 sec helps a lot and using SetCPU with correct profile settings.. the list goes on man, the quicker you boot from winmo to android the better. (switching to nand might be a good decision as well if your ready to lose WM.. huge difference)
There's quite a few battery threads now.. might want to take a peak
http://forum.xda-developers.com/showpost.php?p=9019755&postcount=29339
http://forum.xda-developers.com/showthread.php?t=734886
http://forum.xda-developers.com/showthread.php?p=8990839#post8990839
http://forum.xda-developers.com/showthread.php?p=10433749#post10433749
http://forum.xda-developers.com/showthread.php?t=881958
http://forum.xda-developers.com/showthread.php?t=827355
http://forum.xda-developers.com/showthread.php?t=819534
http://forum.xda-developers.com/showthread.php?t=825989
http://forum.xda-developers.com/showthread.php?t=796134
http://forum.xda-developers.com/showthread.php?t=749753
http://forum.xda-developers.com/showthread.php?t=737001
That should do it I think..
Scabes24 said:
... if you're using a charger\cable that isn't meant for your device it will slowly damage your battery..
Click to expand...
Click to collapse
Curious about this statement. What would define the wrong cable? Thickness? Aren't all micro usb connections the same?
My HD2, running Dutty FAM V24 ROM, SD card version android built 2.2.1 with Sense. I installed the current widgets which shows i have over 100 mA draining even when my phone is not used. Thank for your information disabling the GPS in Power Control Widget, I now have 6-8 mA during phone standby.
Looks like this make sense having the GPS disabling, compromising some features but having 2 OS in one phone is fairly acceptable. I can just switch back to WM6.5 when I need navigation.

My suggestions for better battery life

Hi,
Below you will find some tricks i use to increase standby time and force less resource consumption leading to a better battery life. I have tested all these things a number of times and my device's battery performance is upto the mark when i follow them.
1. Disable Moto tips n tricks in Settings > Motorola privacy > Uncheck Help motorola and Moto care
Everyone by now knows how to use moto apps and their added benifits so there is no need to enable those options. They use data in the background. By turning these off you not only save data but also prevent wake lock leading to better standby.
2. Use active display cleverly
I dont use the option to turn off notifications at night. But all the notifications recieved during my sleep are shown by the active display leading to battery drain even though the device itself is asleep. So, the trick here is to place the phone on its back or put the phone underneath a cushion tricking the proximity sensor into thinking its in a pocket so that active display doesnt show any notifications.
3. Disable motorola security in Settings > Security > Device admin > Motorola device privacy
By default google's android device manager is on which helps to locate device in case of theft. So there is no need to get the same benifit of android device manager by motorola. All it does is use data under google services. Again less data consumption and better standby time.
4. Google location reporting
I dont use google now. And everyone who doesnt should disable google location reporting in Setting > Location > location reporting. If you use google now then it is not a better idea to disable location reporting because it helps to provide info about places nearby but if you dont use google now unchecking location reporting helps to save data and unnecessary wake locks.
5. Retrain Ok google now
If your moto x wakes up to voices not even close to the phrase ok google now in a crowd or a noisy environment then you need to retrain the device. Speak the phrase loud and clear. This helps me to avoid unnecessary wake ups.
6. Check you ram usage under Settings > Apps > Swipe left
This is suggested everywhere but the actual thing to note is the service section. Simple apps like Aviary (photo editor) keep a service running in the background. Remove all such apps. It helps to avoid unnecessary ram use and keep the device smooth after days of use without restart.
7. Battery percentage in status bar for better Screen on time
I use Du battery saver to indicate the battery percentage on the status bar. Weirdly my device would charge slowly but provide way better screen on time. However it behaves normally if i turn of the battery indicator. I have no idea why this happens but i have tested it and this trick works on my device.
8. Turn of scanning when wifi is off
Goto Settings > wifi > in options de select avoid poor signals and scanning always available.
9. Charging with a full signal
Whenever you are charging the device be sure to charge it in a place with full signal. I have noted that when i charge the phone in a room with three signal bars or low it charges slowly as compared to full signal. Although this maybe because of different power sockets but i have tested this on two sockets located at a place where i get one maybe two signal bars and two another sockets where i get full signal. It works for me.
I will update this thread if anything else comes in my mind.
I already do all these (and a lot more actually) and i just barely make it through a day if i don't really use my Moto X (X1056). Love the phone and all but it's battery is not up to snuff at all. Just got tired of spending time babying the battery and now just use my phone. Have a Targus 6000 mAh external battery thingy i keep in my tote bag that comes in handy every now and then.
In my opinion and experience, the 2013 Moto X and great battery life are not synonymous at all. I just deal with it.
I am going to disagree with you. I think the battery performance is way above average. I have attached some screenshots. Check them.
I'll give some of these a try, the problem I usually have is my phone thinks that it is much more dead than it really is. I think this instance it was on 1% for like 8-10 hours.
I do know about the 1 percent bug but i think it to be a hardware problem rather than software. I have a similar problem with my car. The nossle that pours gas in the tank cuts off automatically even when the tank till has the capacity to get 10 litres of petrol in it. The car company told me that the sensor is placed incorrectly in my tank leading the nossle to cut off way before the limit. Similarly the battery circuit may be wired incorrectly but this is just a theory.
Adding to my list of suggestions-
1. Switch to 2g when using wifi
If you use 3g/4g in an area where signal strength is not that high the phone would constantly force its modem to not only maintain a steady signal but also to get maximum signal which causes battery drain. So if you got wifi installed in your home or office, switch to 2g and save battery. Goto Settings > More..> Mobile network > Preferred network type and toggle accordingly.
2. Google + auto back up
Photos app that is a part of google + app automatically backs up all your images on the cloud. Many people are unaware about it and the back up happens in background. This uses a lot data. To cancel this open photos app and in options goto settings and sign out of your account. Some people may use this feature but i dont because it backs up every image stored on the device - whatsapp images, screenshots, viber the list goes on.
3. Google sync
Goto settings and scroll down to your google account. Uncheck all the options which your device doesnt require syncing. Since i dont use google play books tv i keep them unchecked.
KD25 said:
I am going to disagree with you. I think the battery performance is way above average. I have attached some screenshots. Check them.
Click to expand...
Click to collapse
Are you running stock? I'm thinking about putting in a warranty claim on my device. I'm currently at 61% battery. 5.5 hours on battery and about an hour screen on time. did use maps for about 5 minutes, but even then, not close to what many other users are getting. I've factory reset multiple times. Don't want to unlock bootloader as it's still under warranty.
Going to call Moto today.
npiper05 said:
Are you running stock? I'm thinking about putting in a warranty claim on my device. I'm currently at 61% battery. 5.5 hours on battery and about an hour screen on time. did use maps for about 5 minutes, but even then, not close to what many other users are getting. I've factory reset multiple times. Don't want to unlock bootloader as it's still under warranty.
Going to call Moto today.
Click to expand...
Click to collapse
Yes i am running stock. Never rooted never felt the need to. Although i like to tinker devices but within the limit. Before calling in for warranty try disabling google now for a day. I am sure it wont hurt. Also check the times your device got awake in the battery section. The key here is to extend standby time. No one can magically increase on screen time of a device beyond the battery capability but what can be controlled is the standby time. If you arenot using the phone it should be figuratively dead. And seeing the information you provided i can judge your device remains awake. My average run with the battery is about 22 hrs including 4 hr screen on time.
KD25 said:
Yes i am running stock. Never rooted never felt the need to. Although i like to tinker devices but within the limit. Before calling in for warranty try disabling google now for a day. I am sure it wont hurt. Also check the times your device got awake in the battery section. The key here is to extend standby time. No one can magically increase on screen time of a device beyond the battery capability but what can be controlled is the standby time. If you arenot using the phone it should be figuratively dead. And seeing the information you provided i can judge your device remains awake. My average run with the battery is about 22 hrs including 4 hr screen on time.
Click to expand...
Click to collapse
Ill turn off Google now and see what happens. Here is a screen shot. I was an avid android user the last four years, but have been using and iPhone for the last 8 months (for work). Recently switched back to Android and thought the battery on this device would be great but haven't been happy.
Attaching a couple screen shots. Have less than a couple weeks to submit warranty so don't have a lot of time. I'll give it a day with Now off and see what happens.
npiper05 said:
Ill turn off Google now and see what happens. Here is a screen shot. I was an avid android user the last four years, but have been using and iPhone for the last 8 months (for work). Recently switched back to Android and thought the battery on this device would be great but haven't been happy.
Attaching a couple screen shots. Have less than a couple weeks to submit warranty so don't have a lot of time. I'll give it a day with Now off and see what happens.
Click to expand...
Click to collapse
Forgot to attach
npiper05 said:
Ill turn off Google now and see what happens. Here is a screen shot. I was an avid android user the last four years, but have been using and iPhone for the last 8 months (for work). Recently switched back to Android and thought the battery on this device would be great but haven't been happy.
Attaching a couple screen shots. Have less than a couple weeks to submit warranty so don't have a lot of time. I'll give it a day with Now off and see what happens.
Click to expand...
Click to collapse
Bro just freez or disable unused app or wont use any booster they also consume lot of memeory and also no need of any antivirus....always try to switch off net when u dont use......or try custom rom
Sent from my SM-G7102 using XDA Free mobile app
npiper05 said:
Ill turn off Google now and see what happens. Here is a screen shot. I was an avid android user the last four years, but have been using and iPhone for the last 8 months (for work). Recently switched back to Android and thought the battery on this device would be great but haven't been happy.
Attaching a couple screen shots. Have less than a couple weeks to submit warranty so don't have a lot of time. I'll give it a day with Now off and see what happens.
Click to expand...
Click to collapse
After watching the screenshot i suggest you switch to 3g. Your device is getting poor 4g coverage which is the only reason for heavy battery drain.
KD25 said:
After watching the screenshot i suggest you switch to 3g. Your device is getting poor 4g coverage which is the only reason for heavy battery drain.
Click to expand...
Click to collapse
How do you do that? I didn't' think you could if you used a GSM provider and I'm on T-Mobile.
Nick
npiper05 said:
How do you do that? I didn't' think you could if you used a GSM provider and I'm on T-Mobile.
Nick
Click to expand...
Click to collapse
Well in my country moto x is sold unlocked. We dont have carrier contracts. So we get the option to switch in Settings > More > Mobile networks > Preferred network type. Not sure about your phone.
KD25 said:
Well in my country moto x is sold unlocked. We dont have carrier contracts. So we get the option to switch in Settings > More > Mobile networks > Preferred network type. Not sure about your phone.
Click to expand...
Click to collapse
Thanks - tried that. My only options are Automatic and 2G only. No option between 3G and 4G. I usually have better signal, but I'm in my basement working from home today. When that's the case should I switch to 2G? Signal is the same. I guess I could turn off mobile data when I'm home and on Wifi. However, if I'm on wifi, do I need to worry about that or does being on Wifi turn off mobile data? It's been awhile for me.
I really just want to make it through the day on a charge. I normally only have a couple hours screen on time, but even now, I'm lucky to get ten hours. took your advice and turned off Google Now. I'll see how the second half of the battery goes.
Nick
npiper05 said:
Thanks - tried that. My only options are Automatic and 2G only. No option between 3G and 4G. I usually have better signal, but I'm in my basement working from home today. When that's the case should I switch to 2G? Signal is the same. I guess I could turn off mobile data when I'm home and on Wifi. However, if I'm on wifi, do I need to worry about that or does being on Wifi turn off mobile data? It's been awhile for me.
I really just want to make it through the day on a charge. I normally only have a couple hours screen on time, but even now, I'm lucky to get ten hours. took your advice and turned off Google Now. I'll see how the second half of the battery goes.
Nick
Click to expand...
Click to collapse
When i switch to 2g i never lose a signal bar. Never. So if you see yourself in a situation like today where signal is low i strongly suggest you to use 2g. Since you are connected to wifi your modem doesnt need to pull data. I get that people want atleast a day's battery life out of their phone but this hassle of 3g 4g is really what bogs down battery life. Another thing to lookout for is location reporting. Since you have turned off google now turn off location reporting as well.
KD25 said:
When i switch to 2g i never lose a signal bar. Never. So if you see yourself in a situation like today where signal is low i strongly suggest you to use 2g. Since you are connected to wifi your modem doesnt need to pull data. I get that people want atleast a day's battery life out of their phone but this hassle of 3g 4g is really what bogs down battery life. Another thing to lookout for is location reporting. Since you have turned off google now turn off location reporting as well.
Click to expand...
Click to collapse
Thanks for all your help. I went ahead turned mobile data off since I'm home. I'll keep an eye on signal and try to use Wifi when I can. I do have location reporting off (I only use it when I need GPS, which isn't too often).
When I switch to 2G, my signal remains the same. Does that sound right? Or is 2g just going to use less power, regardless of signal?
Nick
npiper05 said:
Thanks for all your help. I went ahead turned mobile data off since I'm home. I'll keep an eye on signal and try to use Wifi when I can. I do have location reporting off (I only use it when I need GPS, which isn't too often).
When I switch to 2G, my signal remains the same. Does that sound right? Or is 2g just going to use less power, regardless of signal?
Nick
Click to expand...
Click to collapse
I definately see change in signal strength when i toggle between 3g/2g. And yes 2g uses way less power. Again i am not sure why you are getting the same signal on 2g.
KD25 said:
I definately see change in signal strength when i toggle between 3g/2g. And yes 2g uses way less power. Again i am not sure why you are getting the same signal on 2g.
Click to expand...
Click to collapse
Thanks again for all your help! Closer to 11 hours in and around 45%. Only lost about 15% in last 4ish hours versus 35% in first 5. Turned off Google Now and switched to 2g when on WiFi. Location is also off. Guessing guys that get 4+ hours SOT are doing the same. Bit of a pain to have to toggle between 2g and 4g. I'm guessing I can download a widget to make it easier.
Anyway, you rock.
KD25 said:
I am going to disagree with you. I think the battery performance is way above average. I have attached some screenshots. Check them.
Click to expand...
Click to collapse
Whether you agree with me or disagree with me is irrelevant. At the end of the day, it is MY experience, and what I experience using MY Moto X. Is it improbable that we both have dissimilar experiences and usage scenarios?
those are some nice suggestions, but some of your paths were not found (e.g. Motorola Privacy).
regardless,
a.) there is already a battery life thread
b.) battery life is going to be what you make of it, and there are numerous variables - even within the same country or carrier
but if you are going to report your battery life experience, be sure to give full detail so that folks can make an apples-to-apples comparison. For example, below are mine for a typical weekday:
carrier: VZW (maryland)
off charger time: 16 hours (6am - 10pm)
wifi: on all the time (about 6 hours connected to wifi)
mobile data: set to Global and on all the time (about 10 hours connected to mobile data - no wifi connection)
bluetooth: on all the time (and connected to Moto 360 watch, with 1 hour total connected to my car)
location services: on all the time
touchless control: on
active display: on
google now hotword detection: on
GPS: battery saving mode
root: yes
unlocked bootloader: yes (although this REALLY shouldn't make a difference, but I have noticed worse battery life after unlocking - could be due to after a reboot, the system does not revert back???)
system partition: DALVIK
ROM: Krypton 4.4.4 or stock 4.4.4
total screen on time: ~2 hours
battery saving apps: greenify
other apps: Xposed with gravity box
prior to the 4.4.4 update, I would get 3 hours easily, now I barely hit 2. my reason for leaving everything on is that I like to have my day/life as seamless as possible. i don't want to have to worry about turning on/off wifi/bluetooth or any other features. a smartphone should be usable for at least 24 hours with at least 2 hours of SOT without having to tinker with it all day.
hope this helps.

Categories

Resources