Reducing idle battery drain on Froyo ROMS - Fascinate General

I've been investigating how to get rid of that pesky background idle battery drain on 2.2. The biggest improvement I've found is from disabling Google location services. With this disabled, my background drain is about 1% per hour. Enabled I see 4-8% per hour. This drain mainly seems to kick in when not connected to wifi AP.
This observation holds true for stock ED01 and sc 2.9.2. GPS still seems to work reasonably well with Google location services disabled, bit it may impact you.
Let me know if anyone else sees the same. Thanks!

Scrappy1 said:
I've been investigating how to get rid of that pesky background idle battery drain on 2.2. The biggest improvement I've found is from disabling Google location services. With this disabled, my background drain is about 1% per hour. Enabled I see 4-8% per hour. This drain mainly seems to kick in when not connected to wifi AP.
This observation holds true for stock ED01 and sc 2.9.2. GPS still seems to work reasonably well with Google location services disabled, bit it may impact you.
Let me know if anyone else sees the same. Thanks!
Click to expand...
Click to collapse
I always leave Google location services on and have NEVER lost 4-8% per hour
Doubtful that it would do that

I can't recall losing that much either.. *shrugs*
Sent from my SCH-I500 using Tapatalk

Wouldn't and doesn't make any diff.
Sent from my SCH-I500 using XDA App

chrisp304 said:
Wouldn't and doesn't make any diff.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Lots of people have commented on worse battery life with froyo. If you're one of those, and its idle drain, then try this out.
If not, mind your own buisness. It definately makes a difference for me. Tested / confirmed multiple times!

Google Location Services does not do anything on its own, until an applications calls for it.
Disabling Google Location Services is like draining your gas tank because it has a hole in it.
Sure, it won't leak anymore, but not only can you not use it, you also will have the problem the next time you fill up.
Fix the problem, don't hide it, imo. You have an app thats draining you if turning off Google LBS fixes your issue.

adrynalyne said:
Google Location Services does not do anything on its own, until an applications calls for it.
Disabling Google Location Services is like draining your gas tank because it has a hole in it.
Sure, it won't leak anymore, but not only can you not use it, you also will have the problem the next time you fill up.
Fix the problem, don't hide it, imo. You have an app thats draining you if turning off Google LBS fixes your issue.
Click to expand...
Click to collapse
Ohhhhh.. In yo face @op
Sent from my SCH-I500 using Tapatalk

I get about 4%/hr battery loss regardless *shrugs* its acceptable for me...
Tapatalked from my rooted/rom'd/themed Fascinate snacking on FROYO

adrynalyne said:
Google Location Services does not do anything on its own, until an applications calls for it.
Disabling Google Location Services is like draining your gas tank because it has a hole in it.
Sure, it won't leak anymore, but not only can you not use it, you also will have the problem the next time you fill up.
Fix the problem, don't hide it, imo. You have an app thats draining you if turning off Google LBS fixes your issue.
Click to expand...
Click to collapse
A constructive comment! Thank you. Before disabling Google location services on stock ED01, I killed every background service that would stay killed, and turned off all widgets and updates. I still had the high idle drain. If what you say is true, it appears there is something systemic in stock 2.2 ROMS abusing Google location services.
Watching cpu usage over time with system pannel and battery state didn't show any suspicious usage.
When using sc 2.9.2, I'm fairly certain the idle drain / location services is only an issue when Google latitude is enabled.

This certainly can't be indicative of ed01 roms or everyone would be screaming to high hell about it...I leave Google location services on all the time and am completely fine battery wise

Sounds like you have a app installed that is using the Google Location service installed, sounds like you need to a factory reset and run a day or so with no apps installed, right now I am running on stock self debloated ED01, and I always have GPS and Google location services turned on, and I have gotten the best battery life I have ever seen on this phone. Not sure if you use Google Latitude, but I have seen that cause some drain on phones.
Its one of the big double edged swords of Android, the ability to have true multitasking can really hinder your battery and this is proof, especially when it comes to a service like Google location services.

Just a thought, maybe if you quit checking your battery usage so much, it might get better.

heffzilla said:
Just a thought, maybe if you quit checking your battery usage so much, it might get better.
Click to expand...
Click to collapse
Come on now, dudes having a problem and trying to help. Just because he is wrong doesn't mean the thread has to go this direction. Instead perhaps it can be used top help him find the true cause, aswell as any one else with similar findings.
Oh and only quoted you cause I thought it was pretty damn funny.

After more testing, I have some interresting findings.
The idle drain I described earlier along with dependence on Google location services holds true while I'm at work. This is a location where I get 0-1 bars of cell signal, and android reports about 60% time without signal. When I'm at home and in good signal area, I can leave Google location services on all the time without high idle drain. Now I know why most people weren't agreeing with my observation.
Now then, to the root of my problem when I'm at work. I know everyone says Google location services is mostly passive and only consumes power when an app is polling for location. However, I'm starting to wonder if this is true for the cell tower portion of location services. Could android be doing some extra background tracking of towers when location services enabled? Or could the phone radio be put in a more aggressive "find a freeking tower at all costs" mode? My experiments at low signal level would seem to suggest so.
Anyone with info or similar test results please let me know. Thanks!

heffzilla said:
Just a thought, maybe if you quit checking your battery usage so much, it might get better.
Click to expand...
Click to collapse
maybe if you stopped checking xda so much our threads may get better...just a thought.

Do you have a WiFi connection when at work (and it setup!), or are you using 3G only? If so, that could be your cause. Google Location Services periodically does send data to Google (read the agreement!), so if it's trying to send off data when you've got pretty much no connection, it could very well explain why it'd be causing such a huge drain on your battery (causing the radio to power up to full power, and continually fail to send your location data off, forcing retries).

KitsuneKnight said:
Do you have a WiFi connection when at work (and it setup!), or are you using 3G only? If so, that could be your cause. Google Location Services periodically does send data to Google (read the agreement!), so if it's trying to send off data when you've got pretty much no connection, it could very well explain why it'd be causing such a huge drain on your battery (causing the radio to power up to full power, and continually fail to send your location data off, forcing retries).
Click to expand...
Click to collapse
This.
Sent from my SCH-I500 using XDA App

KitsuneKnight said:
Do you have a WiFi connection when at work (and it setup!), or are you using 3G only? If so, that could be your cause. Google Location Services periodically does send data to Google (read the agreement!), so if it's trying to send off data when you've got pretty much no connection, it could very well explain why it'd be causing such a huge drain on your battery (causing the radio to power up to full power, and continually fail to send your location data off, forcing retries).
Click to expand...
Click to collapse
Yea, I suppose that's possible. I don't have a wifi connection at work currently. At home I do have wifi, but my wifi sleep policy is set for screen off. To test I did disable wifi alltogether at both home and work, and it doesn't change my idle drain issue. The theory that Google location services is desperately trying to send data over a partially working cell connection does make some sense.

What I've found so far with ed01 froyo has been vastly improved in most regards including battery. My idle drain is almost nonexistant with the comm.rom 1.2 & nemesis' 1.3 kernel with uv/oc to 1.3ghz. It only eats battery when I'm actively using it & there it is more aggressive than eclair depending on what I'm doing. I have google services & standalone gps always on & never use wifi only 3g and easily get 16+ hrs on a charge.
Sent from my SCH-I500 using XDA App

After upgrading to Evilfascinate 3.x, I found if I left my WiFi on and my 3g my battery would barely make it through the day... Now I only turn them on when needed and I am running a couple of days before I put it back on the Charger...
I have done the same with GPS, only turn it on when I need to know where I am or where I am heading...

Related

The only thing that helped my batterydrain

I installed Spare Parts and saw that my phone was never sleeping, even though it was on standby all the time.
This was caused by the location by antenna feature.
Ever since i unchecked that feature i've had around 50-60 hours of uptime, with a few calls and a lot of texts.
hope this helps alot others
With the new firmware the problem of battery dissapears completely
There is a known issue with network location detection in android 1.6. I had the same issue with my galaxy and it was solved. Now that we have root, we can hopefully do the same.
Also, br aware that I have found spare parts to actually stop the phone from sleeping, as well as tapatalk. I suggest rebooting after using either program.
-------------------------------------
Sent via the XDA Tapatalk App
adrianoftyriel said:
There is a known issue with network location detection in android 1.6. I had the same issue with my galaxy and it was solved. Now that we have root, we can hopefully do the same.
Also, br aware that I have found spare parts to actually stop the phone from sleeping, as well as tapatalk. I suggest rebooting after using either program.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Actually that issue is fixed in the latest update so it's already fixed without needing root.
Which firmware? I know I'm still experiencing it.
RBA020 solved the battery issues for me.
Where in spare parts does it show you if your phone has been sleeping?
you don't need spare parts. Just dial *#*#4636#*#* and click battery history and then the running bar.
Sent from my X10a using XDA App
Inebriatef said:
This was caused by the location by antenna feature.
Click to expand...
Click to collapse
I hope this means that under Location, you had Wireless Networks and Assisted GPS enabled.
One question tho... how did you isolate this feature as the one that was keeping the system awake?
I just found that my phone has been running most of the time, I see Running at 100% under Battery History. Then I select Partial Wake usage and see Android System has the largest share. But what part of Android System? how does one get to know?
I know from having a Samsung galaxy and being part of the androidforums community that was going nuts until Simone found a bug report with Google saying that network location was stopping devices from sleeping. We had root so a Dev applied a patch to services.odex and voila! Phones were napping again.
Sent from my X10a using XDA App
adrianoftyriel said:
I know from having a Samsung galaxy and being part of the androidforums community that was going nuts until Simone found a bug report with Google saying that network location was stopping devices from sleeping. We had root so a Dev applied a patch to services.odex and voila! Phones were napping again.
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Hmm... time to give this a try... so is it just Wireless Network or also AGPS that causes this problem?
I hope I can still leave GPS turned on?
EDIT:
adrianoftyriel said:
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Didn't know that there was an XDA App till I saw your sig. Looks like its worth a try since its free!!
Update after turning location off completely
Well first run with all location methods disabled (I can still enable GPS quickly via a widget when I need to use it)... the battery performance is up phenomenally!!
I charged fully before going to bed last night, then kept the phone unplugged... woke up and found the battery was at 97%. This has never happened to me.
Ok, one thing tho, I use Juice Defender with night time schedule, so my wifi and 3G were off during most of the night. Anyways, its been around 3 hours since I woke up, and I've been using the phone on and off to do some browsing.
The battery is now at 93%.
I do not use any other aid other than Juice Defender... no task killers, no startup editors. Will update on how the rest of the day progresses.
EDIT: my thanks to Inebriatef and adrianoftyriel for pointing this out.
j4mm3r said:
I hope this means that under Location, you had Wireless Networks and Assisted GPS enabled.
One question tho... how did you isolate this feature as the one that was keeping the system awake?
I just found that my phone has been running most of the time, I see Running at 100% under Battery History. Then I select Partial Wake usage and see Android System has the largest share. But what part of Android System? how does one get to know?
Click to expand...
Click to collapse
I too would like to hear a bit more. Could the OP please elaborate?
I'm running the latest FW and although my battery life increased exponentially, I find that it's not going to sleep anymore! I had close to 50 hours battery life and now I repeat everything to get just under 20 hours.
I don't use task killers and crap anymore, just before I put my phone away. If I don't, I have a trillion programs running with like 40mb of RAM free. Although I understand this is Linux based, these programs are RUNNING and not idle. All my **** is draining the battery again after a clean reinstall of everything. What a bummer.
bongd said:
I too would like to hear a bit more. Could the OP please elaborate?
I'm running the latest FW and although my battery life increased exponentially, I find that it's not going to sleep anymore! I had close to 50 hours battery life and now I repeat everything to get just under 20 hours.
I don't use task killers and crap anymore, just before I put my phone away. If I don't, I have a trillion programs running with like 40mb of RAM free. Although I understand this is Linux based, these programs are RUNNING and not idle. All my **** is draining the battery again after a clean reinstall of everything. What a bummer.
Click to expand...
Click to collapse
@bongd, by latest FW, do you mean the R2BA020? If yes, then you shouldn't be affected by the problem being reported here. I'm still on R1FB001, which apparently has this Android 1.6 bug related to location.
As in my case, simply by disabling location settings (even though this reports that network location is the culprit, I disabled them all), the phone is now able to suspend itself and basically consume very little battery in standby.
Personally, I dont see any issue with lot of applications running and having little RAM left because I trust the Android system to manage it efficiently. Furthermore, the RAM on these phones is not as fast as what you would see typically on desktop systems, so it actually helps having things around in memory rather than aggressively cleaning it out. Checkout this link to understand a bit more about Android task management features: http://android-developers.blogspot.com/2010/04/multitasking-android-way.html
I suggest you use Spare Parts to isolate your battery drain, there might be some app that is misbehaving and hogging systems resources. Also turning off very frequent updates/refresh intervals in some applications is the way forward.
I found through trial and error that fancy widgets keeps my phone from sleeping.sad cause I really want to use it.
Sent from my X10a using XDA App
j4mm3r said:
@bongd, by latest FW, do you mean the R2BA020? If yes, then you shouldn't be affected by the problem being reported here. I'm still on R1FB001, which apparently has this Android 1.6 bug related to location.
As in my case, simply by disabling location settings (even though this reports that network location is the culprit, I disabled them all), the phone is now able to suspend itself and basically consume very little battery in standby.
Personally, I dont see any issue with lot of applications running and having little RAM left because I trust the Android system to manage it efficiently. Furthermore, the RAM on these phones is not as fast as what you would see typically on desktop systems, so it actually helps having things around in memory rather than aggressively cleaning it out. Checkout this link to understand a bit more about Android task management features: http://android-developers.blogspot.com/2010/04/multitasking-android-way.html
I suggest you use Spare Parts to isolate your battery drain, there might be some app that is misbehaving and hogging systems resources. Also turning off very frequent updates/refresh intervals in some applications is the way forward.
Click to expand...
Click to collapse
Thanks, j4mm3r. I am using R2BA020. It looks like I have some diagnostic troubleshooting to do when I get home.
Sitting here at work charging my phone, it isn't loading craploads of programs anymore. And it seems to be sleeping okay. I'll play around when I have some free time.
Fixed my problem big time
Hey guys,
I just wanted to throw my two cents into the pot.
OK – so after experimenting with Task Killers, Task Managers, Spare Parts, Juice Defender, etc. I came to the conclusion that they (for the most part) did more bad than good. It was getting to the point that I was just starting to accept that “The X10 just has ****ty battery life” end of story.
I also read in a Google released post on the web, that there are a number of reasons that Task Killers, etc. are actually not required to end tasks. Android actually has a fairly intelligent and systematic approach to killing tasks that are not being used. I haven’t used any sort of proprietary battery saver, task ender, startup cleaner, etc. and I’ve been having the best phone performance since I got the headset.
The time now (Eastern Standard) is 3:30pm on Monday. The last time I charged my phone was Saturday evening at 6pm, and currently I am showing 24% battery remaining. Let those numbers do the talking!
My settings are:
Wi-Fi always off unless I am going to be actively using it (browsing)
Using Phone info, I change WCDMA Preferred to GSM Only (enables 2g instead of 3g without disabling data altogether)
GPS always off
Screen settings, brightness, etc. I believe have a much smaller effect than people tend to believe. The SINGLE BIGGEST factors for me, and noticing this huge increase in battery life are:
Settings -> About Phone -> Software Update -> UNCHECK Automatic Search (this constantly searches the market, etc. for app updates and what not)
Cycle power immediately after charging. Once my phone completes its charge, I turn off and then on again.
I hope that some people can enjoy moderately extended battery life as I have. I am SO ecstatic to be at HOUR 43 and still at 20%+
Worth mentioning also that I am on Rogers (Canada) and have not received any updates, so this extended battery life is not a result of a firmware update.
How I Fixed My Batter Life Problem
My Incredible would run dead in about 4 hrs doing nothing. I finally dug into several "task killer" programs and found that about 20 - 30 apps were invisibily running in the background constantly. As soon as I permanently killed them, my battery life went to normal. I can now get about 2 days of normal use on 1 charge. Even a day of pretty heavy use will last almost all day.
So for me, it was all the new apps I installed when I first got the phone that were running in the background. The free "task killer" program was not showing them. I finally found the app called "System Panel." It was the ONLY app that would show me all the "invisible" apps that were still running invisibly in the background and let me kill them. Once I killed them with System Panel, they stayed dead and the free "task killer" program could auto-kill them from them on.
Not sure why the free programs could not see the rogue apps, but my battery life is GREAT now.
Inebriatef said:
I installed Spare Parts and saw that my phone was never sleeping, even though it was on standby all the time.
This was caused by the location by antenna feature.
Ever since i unchecked that feature i've had around 50-60 hours of uptime, with a few calls and a lot of texts.
hope this helps alot others
Click to expand...
Click to collapse
What do you mean caused by the location of the antenna feature?
Where is this option to uncheck this feature.
Thanks dear.
Vatis
I'm running R2BA023 and I am struggling to get a full day from the phone at the moment. It normally lasts around 12 hours and then its flat.
However, I ran the Telenor R2BA020 update and I manage to get a full day with ease.
I have just done a clean install of R2BA023 Generic UK "root" edtion and going to see how I get on. What I did notice before is that the phone was not returning to a idle state.

Maps GPS at the top of battery drain?? Insight needed*

My N4 hasn't had good battery life compared to my GNex and its noticeable. I used Google now on the Gnex and I got like close to 3 hours or more of screen on give or take with the 2000mah extended battery depending on what i was doing with 25% brightness most of the time. But on my N4 with Google now I got like barely 2 hours at like 20% brightness which doesn't' make much sense seeing that the battery in the N4 is larger. So I decided to turn off Google now since I don't really use it and now I get a little over 2 and a half hours sometimes more. I'm guessing that's cause Google now isn't updating and all that cause I turned off all the location services and GPS except the "wifi &mobile network location" for certain apps or widgets and stuff. This is all leading up to my question. How or why maps is at the top of my battery usage and why it says its using GPS when I have it off? It never was at the top before the android OS or screen was there. Now I get better battery life but still the screen isn't the top drainer which is odd. Does anyone have any insight? Cause I can only imagine the battery life I could get out of this if everything worked properly. Cause idk if its a bad code thing or hardware.
And here are pics thanks guy's
Sent from my Nexus 4 using xda app-developers app
Turn off WiFi under location access
But then I wont get any location data for certain apps or widgets. And that was never a problem on th GNex. Is that really the only option i would have?
If you have not done so, signin to navigation at least once.
Sent from my Nexus 4 using xda app-developers app
BruceCLin said:
If you have not done so, signin to navigation at least once.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Ok I did cause i haven't yet and i had to turn on GPS to do so. But now im back out i turned off GPS. What would doing that do exactly? If you dont mind elaborating?
If you never went through that step, some apps that request location will never get it and will keep sending requests draining the battery.
Sent from my Nexus 4 using xda app-developers app
I have signed in but google maps is still my top battery drain even when I haven't used it at all. Anything else that could be causing this?
Could be some widget or app that put location data like any weather widget for example.
Sent from my Nexus 4 using xda app-developers app
BruceCLin said:
If you have not done so, signin to navigation at least once.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Is this a documented fact or something you came up with on your own? I am just wondering because Google Now does not work properly on my phone but it worked great on my Gnex.
Well I guess maps has a bug or its badly coded because like you guys said you still get the battery drain even when you seem to turn location stuff off. Well i did the same I have no Google now activated and it was a little better but id still get maps and it would even say the GPS was on for like hours in it on the GSam battery app So I just decided to force close Maps and since then I have no issue maps isnt even on the GSam radar and my battery life is much better I Can get 3 hours screen time with 15% brightness pretty easy and more if im not doing intensive stuff. Im hoping better code for Jellybeen or maps will come out soon to even make this higher or actually let me use maps and google now without such the drain.
Also I found that when I went to use Maps for directions the GPS getting "stuck" issue would come back so id have to force close to get that to stop and it seems that some apps that use GPS get stuck even though I switch it off like Gas Buddy which looks for gas around your location I tried it and turned on GPS then off when i was done and when i checked GSam it was at the top of my list because the GPS was stuck on and even force closing the app wouldnt shut it off so I had to uninstall and reinstall to stop it. I think it was just that it wasnt coded for 4.1.2 well so hopefully all those bugs will get worked out in the future. Hope this helps someone!
Not documented, but I have personally have 3 n4s map battery drain fixed this way. I heard here on xda, tried, and worked. So there are at least 4 people fixed this way. Of course, this is probably not the only battery bug/optimization issue in 4.2.1.
Sent from my Nexus 4 using xda app-developers app
Make sure you're not signed in to Latitude, it's a killer.
Go to Google Maps > Settings > Location, and disable "Location reporting".
drumist said:
Go to Google Maps > Settings > Location, and disable "Location reporting".
Click to expand...
Click to collapse
what they said. this is a huge + for why maps is being used. wished google disabled this from the start so people wouldnt mistaken the phone for having 'poor battery life'
same issue! battery usage as GPS
I'm actually having the same issue (i know this is old)
All my settings are correct, even with force closing the app (GPS and Facebook sometimes) the battery usage will be #1, and the GPS on time under details will be constantly ticking. As I refresh the battery usage, the GPS timer will continue to go up.
Only way I figured to solve this is to reboot my phone.. anyone else experiencing similar issues?
I did! I just noticed this problem in the last 2 days and I found this post.
Does google know about this problem? Will there any patch release for this bug?
I can confirm the same thing with this gps issue.
There's a bug report filed. Vote for it to make it more visible to devs.
http://code.google.com/p/android/issues/detail?id=52236&q=Gps%20usage%20when%20off&sort=-id&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
Experiencing it both on Google stock 4.3 Galaxy Nexus and Slim Bean 4.3 Nexus 4. Battery stats show GPS running under Google maps after switching GPS off using quick settings tile, after switching off location services in phone settings and even after switching off location in Google settings app. Only reboot stops good usage in battery stats.
This is very annoying. Have anybody fixed it? Any advice appreciated.
Nocturnal86 said:
Well I guess maps has a bug or its badly coded because like you guys said you still get the battery drain even when you seem to turn location stuff off. Well i did the same I have no Google now activated and it was a little better but id still get maps and it would even say the GPS was on for like hours in it on the GSam battery app So I just decided to force close Maps and since then I have no issue maps isnt even on the GSam radar and my battery life is much better I Can get 3 hours screen time with 15% brightness pretty easy and more if im not doing intensive stuff. Im hoping better code for Jellybeen or maps will come out soon to even make this higher or actually let me use maps and google now without such the drain.
Also I found that when I went to use Maps for directions the GPS getting "stuck" issue would come back so id have to force close to get that to stop and it seems that some apps that use GPS get stuck even though I switch it off like Gas Buddy which looks for gas around your location I tried it and turned on GPS then off when i was done and when i checked GSam it was at the top of my list because the GPS was stuck on and even force closing the app wouldnt shut it off so I had to uninstall and reinstall to stop it. I think it was just that it wasnt coded for 4.1.2 well so hopefully all those bugs will get worked out in the future. Hope this helps someone!
Click to expand...
Click to collapse
You have exactly the same finding of mine (although I may have better punctuation)
The GPS is stuck on even when you killed the map and turn OFF the GPS in the settings already.
And you are right, every app that use the GPS can have this "bug". (I used Yelp a lot and battery status always shows that its GPS usage is on even after I turned off GPS)
In GSAM battery monitor it does not show a high usage though, I guess it does not actually drain battery.
And this issue is still appearing in Android 4.3 with Google map 7.2.0

[Q] Phone switches between H and H+ constantly

My phone keeps switching between H and H+ and I'm assuming this is attributing to my bad battery life. I'm tried the phone APN and the wap.cingular APN but both do the same thing. Should I just enable the Use only 2G networks option? Will that lock me into H only?
No. H+ and H aren't causing poor battery life. It's something else.
dmorand said:
My phone keeps switching between H and H+ and I'm assuming this is attributing to my bad battery life. I'm tried the phone APN and the wap.cingular APN but both do the same thing. Should I just enable the Use only 2G networks option? Will that lock me into H only?
Click to expand...
Click to collapse
No it will put you on edge. 2g speeds. If you want to keep this phone on 3g, expect terrible battery life, period. A lot of people have hope that the next update will fix the insane battery drain on 3g. I highly doubt it.
Sent from my Nexus 7 using xda app-developers app
ksc6000 said:
No it will put you on edge. 2g speeds. If you want to keep this phone on 3g, expect terrible battery life, period. A lot of people have hope that the next update will fix the insane battery drain on 3g. I highly doubt it.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
There's no battery drain on 3G. The problem is somewhere else, mainly in maps, wakelocks and/or kernel.
alternatively route is to flash a custom kernel such as franco
Yeah I've got franco, and just flashed MiNCO ROM (I was using CM but battery life was still horrible).
What APN are you guys using? I'm using the phone APN. I just upgraded to franco r20 so I'm hoping this will show an improvement
apn varies on your carrier. its not the same for all
the phone sits on H and goes H+ when you are downloading stuff.
download betterbatterystats and make sure you don't have any apps preventing your phone from deep sleeping http://forum.xda-developers.com/showthread.php?t=1179809
CM battery life isn't bad... its more of your current setup in terms of apps and kernel. ROM rarely has an impact on battery life in my opinion. its all about wakelocks, sync intervals.
make sure google maps latitude is OFF and that your phone isn't automatic reporting your location.
I've got the Access to my location setting under Location access On but al of the location settings under Maps are off.
I downloaded betterbatterystats yesterday. I noticed that my twitter and facebook app were causing some wakelocks so I got those syncs disabled. I'm hoping I'll squeeze some more life out of this now. I assume Google will probably be releasing a patch in the near future so I'll just hold tight for now (and a charger close)
dmorand said:
I've got the Access to my location setting under Location access On but al of the location settings under Maps are off.
I downloaded betterbatterystats yesterday. I noticed that my twitter and facebook app were causing some wakelocks so I got those syncs disabled. I'm hoping I'll squeeze some more life out of this now. I assume Google will probably be releasing a patch in the near future so I'll just hold tight for now (and a charger close)
Click to expand...
Click to collapse
Google releasing patches doesn't matter. It's your phone set up. I push 4+ hours easily. Disable whatever cards that you don't need in Google Now as well.
http://zephik.com/upload/Screenshot_2012-12-14-19-05-58.png ~2 weeks ago on CM + Franco Kernel (some release... I don't remember which one now)
Facebook app uses GPS and drains a lot. Download https://play.google.com/store/apps/...251bGwsMSwyLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ.. ensure that your phone is indeed deep sleeping.
Please hit the thanks button if I help.... you haven't pressed it once and I have been replying back in a helpful manner. Thanks
zephiK said:
Google releasing patches doesn't matter. It's your phone set up. I push 4+ hours easily. Disable whatever cards that you don't need in Google Now as well.
http://zephik.com/upload/Screenshot_2012-12-14-19-05-58.png ~2 weeks ago on CM + Franco Kernel (some release... I don't remember which one now)
Facebook app uses GPS and drains a lot. Download https://play.google.com/store/apps/...251bGwsMSwyLDEsImNvbS5idmFsb3Nlay5jcHVzcHkiXQ.. ensure that your phone is indeed deep sleeping.
Please hit the thanks button if I help.... you haven't pressed it once and I have been replying back in a helpful manner. Thanks
Click to expand...
Click to collapse
Sorry about the "Thanks", I greatly appreciate your help, I've clicked them. I'll review CPU Spy and the better battery status and I'll keep narrowing the problem down. I'm determined to squeeze 1+ day of battery life out of this bad boy!

Google Services draining battery?

So, I'm rooted on VZW with no OTA and suddenly had abnormal battery drain today. Any idea why this may be happening?
Mine is kinda high today as well. I saw something about Google having issues today with email and other applications. This could be related, or phones can't connect to Google so it just keeps on trying.
Sounds nice but don't know if it's true or not.
Sent from my VS980 4G using Tapatalk 4
Install Greenify. Hibernate all the APPs that you don't want notification from first. This app doesn't allow APPs to Wakelock you're phone. Once you find which offending account is the issue you'll be ok. I found that Facebook woke up my phone thousands of times and I have up notifications. Best choice ever ?
This app requires root and free in the app store.
Sent from my VS980 4G using XDA Premium 4 mobile app
Greenify can't touch system apps to my knowledge but yes, it is an excellent solution for rogue apps that take up resources when they shouldn't. :good:
As far as the google services battery drain, I eliminated that by simply turning off google location services. The actual GPS is so quick to lock that I haven't run into a scenario yet where I'd absolutely need to turn it back on.
My location services are off. Doesnt seem to help me much. I also bought donation greenify and greenfied Google Play services and Google Play Store
sent from the galaxy via tapping and talking
With 15:34 for time on, and 1:45 of screen on time, I'm currently at exactly 50% battery. I feel it was something awry with Google Services yesterday and an isolated issue. Location services were off today, but I did nothing with Greenify, yet at least.
nismology said:
Greenify can't touch system apps to my knowledge but yes, it is an excellent solution for rogue apps that take up resources when they shouldn't. :good:
.
Click to expand...
Click to collapse
Donate version is able to greenify system apps.
Sent from my VS980 4G using Tapatalk 4
Yeah I had the same problem, yesterday. I was having Google services use ~60% of battery life. Surprisingly I still got all day battery life.
Sent from my Nexus 7 using Tapatalk 4
heffzilla said:
Donate version is able to greenify system apps.
Sent from my VS980 4G using Tapatalk 4
Click to expand...
Click to collapse
Didn't know that but knowledge is good! :good:
shekinahsmoke said:
My location services are off. Doesnt seem to help me much. I also bought donation greenify and greenfied Google Play services and Google Play Store
sent from the galaxy via tapping and talking
Click to expand...
Click to collapse
How is that working? Considering doing the same as I've already tried removing the sytem app and replacing with Play Services from the play store. That seemed to work for a few days but the nip wake locks are worse than ever right now. Killing the otherwise stellar battery.
iowabowtech said:
How is that working? Considering doing the same as I've already tried removing the sytem app and replacing with Play Services from the play store. That seemed to work for a few days but the nip wake locks are worse than ever right now. Killing the otherwise stellar battery.
Click to expand...
Click to collapse
works great today..... google services error has gone away today and my battery life seems longer. :good:
I just froze google play services and will look at the battery stats later to report the difference. What apps are affected by freezing this though? It seems Hangouts is one.
I don't know why, but all my days are pretty much exactly the same location-wise and some days have huge wakelocks, others don't.
Aside from installing the play store services which seemed to help quite a bit, I've also noticed a nice drop in wakelocks since I went on to Google's Location History dashboard (https://maps.google.com/locationhistory/b/0/dashboard?hl=en) and deleted all my history so maybe it could re-create it.
One thing I've noticed is that on high-wakelock days, my GPS is going nutso. My point markers on that dashboard will have me moving ALL OVER the place, even while I'm just sitting at my desk at work.
This leads me to the conclusion that signal plays a huge role, and I do have bad signal at work (1 bar, and can't get a good GPS lock at my desk).
Also, you can minimize these wakelocks without the use of Greenify by simply turning off Location Reporting and Location Using WiFi and Mobile Networks. This dropped my wakelocks to pretty much 0, immediately. But you'll lose things like weather widget geolocation and some Google Now features. On the other hand, this is a more viable option than freezing services which can cause you to lose push notifications for GMail among other things.
I've been messing with this throughout the day today and the problem is high NIP wakelocks originating from Google Services...specifically the Network Location process. So the fix for me appears to be disabling newtork location while leaving GPS location enabled. This is usally the reverse of how I do things but for this phone, it may be the better solution. Google Now is still working for me, as is maps/navigation. There may be some casualties of disabling newtwork location but I haven't run across them yet. I've always viewed these two options as coarse (network) vs.fine (gps) location. So I'm hoping GPS picks up the slack and I don't lose any functionality. What I could see happening is that it just takes longer for location to be confirmed because network location is faster. I'll take that in lieu of battery drain however.
Still need to run like this for a couple days to see how things go but I was getting hundreds and even thousands of NIP wakelocks in a run cycle prior to disabling network location. I'm now getting zero.
iowabowtech said:
I've been messing with this throughout the day today and the problem is high NIP wakelocks originating from Google Services...specifically the Network Location process. So the fix for me appears to be disabling newtork location while leaving GPS location enabled. This is usally the reverse of how I do things but for this phone, it may be the better solution. Google Now is still working for me, as is maps/navigation. There may be some casualties of disabling newtwork location but I haven't run across them yet. I've always viewed these two options as coarse (network) vs.fine (gps) location. So I'm hoping GPS picks up the slack and I don't lose any functionality. What I could see happening is that it just takes longer for location to be confirmed because network location is faster. I'll take that in lieu of battery drain however.
Still need to run like this for a couple days to see how things go but I was getting hundreds and even thousands of NIP wakelocks in a run cycle prior to disabling network location. I'm now getting zero.
Click to expand...
Click to collapse
I believe disabling network location will disable Google Now location cards, such as weather or places.
cheami said:
I believe disabling network location will disable Google Now location cards, such as weather or places.
Click to expand...
Click to collapse
You are correct, there's the first casualty confirmed. I'm going to run like this for a few days and see what gives. I don't use the cards anyway so no issue there. If anyone knows of other functionality loss, please speak up.
Like some of you have said, I don't rely on Google Now cards, and I don't leave the city I'm in, so for things like weather, I am find with the hourly syncing of my weather app. If I do need GPS/location services, it's not hard to toggle and battery life is incredible. I feel it was just something going rogue the other day. Today, with locaiton off, I've been off the charger for 15:34 with 1:24 screen on time and I'm at 58%. I spent a good portion of today in a sub-basement on airplane mode, with wifi active in the background though. Walking around campus, I used Songza via 4G due to some wifi weak spots. I can't be happier with this phone, as my GNex would have long since been dead, even on airplane mode.
EDIT: Holy ****, 15:34 sounded familiar, checked my post from yesterday, I responded then at the same time off the charger...
Okay so I may have fixed it on my phone.
I forced closed "Google Play Services" and "Google Devices Framework" then rebooted.
Google services was using it 50% of battery consistently through the day and now its down to using 2% of battery. I'll come back at the end of the day with battery stats.
Sent from my Nexus 7 using Tapatalk 4
this night was a pain.... the phone was on 83 and when i wake it was on 76..... google services was draining all my battery, who could fix this?

Battery issue. Is this normal?

Android system has been using a lot of battery since I turned off wifi. Is this normal?
I337 mf3 running GE 4.2.2 rom with safestrap
Sent from my SGH-I337 using xda app-developers app
deadenz said:
Android system has been using a lot of battery since I turned off wifi. Is this normal?
I337 mf3 running GE 4.2.2 rom with safestrap
Sent from my SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
Google “android system battery drain" it comes up with a lot of things. Download BetterBatteryStats click on other than click on partial wakelocks. Its some of your wakelocks that's causing the android system to drain the battery. With BetterBatteryStats it tells you which of those wakelocks is causing it and you can disable them.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
[email protected] said:
Google “android system battery drain" it comes up with a lot of things. Download BetterBatteryStats click on other than click on partial wakelocks. Its some of your wakelocks that's causing the android system to drain the battery. With BetterBatteryStats it tells you which of those wakelocks is causing it and you can disable them.
Sent from my SAMSUNG-SGH-I337 using xda app-developers app
Click to expand...
Click to collapse
finding alot of "answers" but none of which I think are the problem. I've attached a couple screenshots to show what is causing the wakelocks, not real sure what they are tho. this battery drain only happens when I leave wifi off, if wifi is on everything is perfect.
How strong is your phone's signal? If it does a lot of searching it'll use a lot of battery. With Wi-Fi off your apps will still try to connect to the internet. Face book I'd your biggest wake lock. Do you really need that to be trying to sync?
jd1639 said:
How strong is your phone's signal? If it does a lot of searching it'll use a lot of battery. With Wi-Fi off your apps will still try to connect to the internet. Face book I'd your biggest wake lock. Do you really need that to be trying to sync?
Click to expand...
Click to collapse
my signal is almost always full bars with lte. I wouldn't think that one app would cause such a battery drain, even facebook. but no it's not that important, I can turn that off to see if it makes a difference. what about "AlarmManager" & "ActivityManager-Launch"?
edit: what I don't understand is this.. even with facebook on, whether it's syncing with wifi or my data connection it's wakelocking, so why such a huge difference when wifi is disabled and it's using my data connection instead?
I don't think facebook is the problem, I installed the other ge rom (clean&slim) and am having the same issue when wifi is disabled, and I haven't installed any apps except for es file explorer and nova launcher. I don't remember a problem with this on stock touchwiz. I have safestrap and goldeneye running on my girlfriends phone and the android system using battery when wifi is disabled isn't a problem.
deadenz said:
my signal is almost always full bars with lte. I wouldn't think that one app would cause such a battery drain, even facebook. but no it's not that important, I can turn that off to see if it makes a difference. what about "AlarmManager" & "ActivityManager-Launch"?
edit: what I don't understand is this.. even with facebook on, whether it's syncing with wifi or my data connection it's wakelocking, so why such a huge difference when wifi is disabled and it's using my data connection instead?
Click to expand...
Click to collapse
If you're in an LTE border area your connection may be connecting in and out with LTE bands frequently causing the battery drain, as wifi is usually more stable. Generally the cause of battery drain is due to google services wakelocking the phone. Do you have Greenify downloaded? It's pretty nifty for hibernating apps, causing them to be completely shutdown until opened; preventing wakelocks. If you get the donate version you can even hibernate system apps (google services, etc). I doubt it's ROM related, but you can try another ROM and compare with BetterBatteryStats.
http://forum.xda-developers.com/wiki/Wakelocks
^ That will explain the AlarmManager & ActivityManager-Launch.
Br4nd3n said:
If you're in an LTE border area your connection may be connecting in and out with LTE bands frequently causing the battery drain, as wifi is usually more stable. Generally the cause of battery drain is due to google services wakelocking the phone. Do you have Greenify downloaded? It's pretty nifty for hibernating apps, causing them to be completely shutdown until opened; preventing wakelocks. If you get the donate version you can even hibernate system apps (google services, etc). I doubt it's ROM related, but you can try another ROM and compare with BetterBatteryStats.
http://forum.xda-developers.com/wiki/Wakelocks
^ That will explain the AlarmManager & ActivityManager-Launch.
Click to expand...
Click to collapse
thanks for the info. I've tried both google edition roms but like I said.. this wasn't an issue on stock touchwiz and it's not an issue on my girlfriends phone running safestrap and goldeneye (we have the same phone). I do have greenify and I've added play music and maps to it as I noticed they would always run in the background. I also noticed in running apps under google services (with wifi disabled) something was running called locationmanager or similar to that. I had all location services turned off tho. I always have full lte service so I'm not sure why it would be going in and out.
Check your kernel wakelocks, your partial wakelocks seems not a big deal, actually on that screenshot IMO facebook is behaving very well.
CyberManiaK said:
Check your kernel wakelocks, your partial wakelocks seems not a big deal, actually on that screenshot IMO facebook is behaving very well.
Click to expand...
Click to collapse
I just unplugged my phone so I'm waiting for updated battery stats. I'm almost positive it has nothing to do with any apps that I've installed. I have greenified alot of apps, and turned off some receivers in google services framework (mostly gtalk stuff) I also did the stuff in this guide: http://forum.xda-developers.com/showthread.php?t=2357417. I'm going to wait awhile to see if there's any improvement, then I was going to try adding some build.prop entries that I used on my LG Optimus L9, a couple are for saving power when the phone is asleep and helping the phone sleep better, and there is an entry to limit how often your wifi will scan. they seemed to help on the lg.
I live in a poor service area and I like to control my WiFi and data on off with juice defender or creative connections I think its called. Helps me a lot. May not solve your prob but might make things easier on you. There is also an app called LTE toggle that makes a on/off widget for LTE. Hope it helps if you try it.
Bubba Fett said:
I live in a poor service area and I like to control my WiFi and data on off with juice defender or creative connections I think its called. Helps me a lot. May not solve your prob but might make things easier on you. There is also an app called LTE toggle that makes a on/off widget for LTE. Hope it helps if you try it.
Click to expand...
Click to collapse
so is this an issue other people have using google edition roms and having wifi disabled? this doesn't happen with stock touchwiz or even stock touchwiz roms so I'm not understanding what the problem could be. I shouldn't have to use another app to stop battery drain just because I don't have wifi enabled
deadenz said:
so is this an issue other people have using google edition roms and having wifi disabled? this doesn't happen with stock touchwiz or even stock touchwiz roms so I'm not understanding what the problem could be. I shouldn't have to use another app to stop battery drain just because I don't have wifi enabled
Click to expand...
Click to collapse
I can't think of anything you haven't already thought of that could cause those issues. I love greenify also but is it possible you greenified an app that is fighting it and trying to connect? I've done that but not es bad as you are seeing. Those apps were a thought to make your life a little easier by not working about WiFi on here and off there. They work good for me for that issue. You probably won't like this but I'm running foxhound 2.0 with faux and killjoy/ccross breeder script and I have a hard time hitting 50% battery after 15 hours off the charger. I have to really game or to a lot to go below that. I also debloat heavily. I havent tried your Roms yet but I had similar results on Alpha ROM. I'll think about it some more though.
Bubba Fett said:
I can't think of anything you haven't already thought of that could cause those issues. I love greenify also but is it possible you greenified an app that is fighting it and trying to connect? I've done that but not es bad as you are seeing. Those apps were a thought to make your life a little easier by not working about WiFi on here and off there. They work good for me for that issue. You probably won't like this but I'm running foxhound 2.0 with faux and killjoy/ccross breeder script and I have a hard time hitting 50% battery after 15 hours off the charger. I have to really game or to a lot to go below that. I also debloat heavily. I havent tried your Roms yet but I had similar results on Alpha ROM. I'll think about it some more though.
Click to expand...
Click to collapse
I tried foxhound and I liked it but the black theme was just too black for me and I don't really like the touchwiz theme. I love the google edition roms. and no at first I flashed a clean ge rom and didn't install any apps at all and I still had the problem. I've also installed ge roms from the i9505 forum and also had the problem. with wifi on I get atleast 2 days on a full charge and about 4 hours of screen on time.
I would suggest do the following charge up to 100% not 90% like your second post. after 100% charge, do a reboot when the phone boots again remove the charger and let it sit untouched for at least 4 hours preferably 8 hours. Then on better battery stats take a screenshot of "Other/unplugged" lets see how much the phone is awake and deep sleep, then take a screenshot of Kernel Wakelocks/unplugged and also partial wakelocks/unplugged
at first I didn't notice that on you second screenshot your stats are for 8% period 90% - 82% and that is a 1%/hr battery drain, is actually pretty good, sure not excellent but there are some that loose 2%/hr
I'm having the same problem with the ge ROM. Battery life seems to go quicker than stock touchwiz. As I like the GE roms interface and things you can do with it just hate the battery life.
4.2.2 Google Play Edition GS4 safestrap.
[email protected] said:
I'm having the same problem with the ge ROM. Battery life seems to go quicker than stock touchwiz. As I like the GE roms interface and things you can do with it just hate the battery life.
4.2.2 Google Play Edition GS4 safestrap.
Click to expand...
Click to collapse
How much time are you getting of deep sleep and how much awake in a 8 hr period ?
Do you have exchange mail enabled? Sometimes I have the same problem with my battery life and that is the issue
Sent from my GT-I9505 using Tapatalk 4
[email protected] said:
I'm having the same problem with the ge ROM. Battery life seems to go quicker than stock touchwiz. As I like the GE roms interface and things you can do with it just hate the battery life.
4.2.2 Google Play Edition GS4 safestrap.
Click to expand...
Click to collapse
are you having the problem with wifi enabled and disabled? I only have the problem when my wifi is turned off, with wifi on I get great battery life with this rom
here's what I added to my build.prop last night and it seems to have fixed the 'android system' battery drain. it's back down to 2% now with wifi off and lte enabled.
Disable Sending Usage Data
ro.config.nocheckin=1
Deeper Sleep / Better Battery Life
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
Wi-Fi to Scan Less Frequently
wifi.supplicantscan_interval=180

Categories

Resources