[Guide] battery fix - T-Mobile Samsung Galaxy S II SGH-T989

Well I was having horrible battery problems and came across a how to on the web and thought I would share this. Hopefully it hasn't been shared already and I apologize if it has. Its a way to wipe battery stats. MAKE SURE YOUR BATTERY IS AT 100% BEFORE DOING THIS
1. Boot into cwm recovery
2. Scroll to advanced
3. Scroll to clear battery stats
4. Reboot phone
5. wait for your battery to fully die before charging it again
And there you go its a pretty simple fix and is good if you have flashed a lot of roms. The guide said not to do it very often tho so I would be cautious but I did it once and now I am getting almost a day and a half with moderate use out of my stock battery! I have seen a lot of complaints about battery life.
Hope this helps let me know your results as I am new here
Sent from my SGH-T989 using xda app-developers app

Yeah, this has been shared before. Good info, though.
Sent from my SGH-T989 using xda premium

Wiping battery stats doesn't do anything beneficial - http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer

After doing some research I did see that on androidcentral but can't wiping the stats when your on a new rom improve how your phone reports the battery stats as well?
Sent from my SGH-T989

style154 said:
After doing some research I did see that on androidcentral but can't wiping the stats when your on a new rom improve how your phone reports the battery stats as well?
Sent from my SGH-T989
Click to expand...
Click to collapse
If on a new ROM, you probably wiped /data, meaning... no more battery stats.

While I'm not sure if wiping the battery stats works or not, I just posted the following in the thread of the ROM I'm currently using since battery life is a big topic there. This is a guide that I came up with after a couple of weeks of analysis and tweaks:
I'm getting at least 48 hours on my battery now, no lie. I've made it a mission over the past couple of weeks to track down all my wakelocks and get rid of all the unnecessary processes that cause those wakelocks.
After 2+ weeks of analysis using a combo of betterbattery stats, badass battery monitor, and the stock battery info, here's a list of what I've done along with running TDJ's Evo3v7 Rom.
DISCLAIMER: These are my findings for my phone and my setup in my location and my typical usage which have worked for me:
-Make sure screen brightness is set to 'Automatic'
-Use Wifi as much as possible Vs data.
-From what I've read Facebook uses a ton of battery (wakelocks) when syncing in the background. I may be the only person on earth that doesn't have a fb account so I don't have to worry about it on my phone, but just keep that in mind.
-Under Accounts and Sync try to funnel as many accounts as you can THROUGH gmail. In your Gmail account sync only what you need when you need it. Do you really need the browser, contacts, web albums, etc synced. Can you live with manually syncing calendar once a day? Keep it to a minimum.
-Disable everything under Settings > Sound > System (the 4 items at the bottom of that list, keytones, touchsounds, screen lock sound, vibrate on screen tap)
-Make sure if you have a weather app that refreshes automatically to only have it refresh to what you need. Some of these refresh every 15min. Really? Just have it refresh manually or on unlock. I've found that to be fine.
-Make sure you're signed out of Latitude after you use it - if you use it. You can't freeze, uninstall etc, without freezing/uninstaling Maps, so make sure you are not signed into Latitude (or any other location service based apps).
-Location, location, location... Under Settings > Location Services uncheck all 3 options... may need a reboot to 'stick' after unchecking (these are sometimes checked by default when first booting up your device from flashing a ROM or you check them not knowing what all they do (I know I did at first). They are helpful when restoring but are a pain on the battery in daily use. This choice is yours as there are other recovery/restore methods but I've found that I don't need these checked at all. (Sometimes even going to Google.com enables the location service and it gets stuck in perpetual wake state, I've found).
-If you don't use Google Talk, simply remove it. Although I've found that 'GTALK_...' still has wake states even with it removed (phone still communicates with Google servers even when the app is removed), it's not near as much as it used to be.
-Freeze the Maps app - if it's feasible. Maps is one app that runs 100% of the time. Take a look in your 'running apps' and see for yourself. I rarely use my maps so I froze it. Since then, location services processes have dropped dramatically as have my wakelocks associated with location. This alone has helped out my battery tons. If I need to use maps, I simply unfreeze it.
-Finally, download and flash this by eugene373: http://forum.xda-developers.com/show...30&postcount=1 This has saved me more battery than most of the things listed above combined.

Hmm your link to Eugene's thread didn't work. But thanks for the info. And I guess that does make sense that wiping data would also wipe battery stats. That's why I'm a little confused about half the people say it works and the other half say it does so I figured I'd try it out
Sent from my SGH-T989

I think he means this thread: http://forum.xda-developers.com/showthread.php?t=1739457

Holyman007 said:
I think he means this thread: http://forum.xda-developers.com/showthread.php?t=1739457
Click to expand...
Click to collapse
Thank you. So will this replace any battery saving app like juice defender?
Sent from my SGH-T989

style154 said:
Thank you. So will this replace any battery saving app like juice defender?
Sent from my SGH-T989
Click to expand...
Click to collapse
no that wont replace it, but adding the 2 together likely will improve battery even more.

eugene373 said:
no that wont replace it, but adding the 2 together likely will improve battery even more.
Click to expand...
Click to collapse
Awesome. I downloaded your file Eugene and flashed it is it already working or do I have to move it to my system file using astro?
Sent from my SGH-T989

style154 said:
Awesome. I downloaded your file Eugene and flashed it is it already working or do I have to move it to my system file using astro?
Sent from my SGH-T989
Click to expand...
Click to collapse
as long as it has init.d support, it should be working

Ok well I ran the script I will report back on of that works. Thanks again Eugene!
Sent from my SGH-T989

While I agree that turning off services or freezing them does help battery life, it kind of ruins the whole smart phone experience. The reason I have a smart phone is for up to date info at a quick glance. I am sure the info you provided will help some though. Thanks for posting.
Sent from my AOKP'ed Samsung GS2 with Eugene's kernel

Related

[Q] The Number "0" Shown in Spare parts what does this mean??????

In the picture below you will see the number "0" in spare parts under network usage. I have searched the XDA threads and tried google and have found no answer. This "0" never use to be there before and is using a lot of data which is killing my battery. Yes I have always wiped when going to a different rom, I have even tried reinstalling my rom again and fully wiping. The rom I am currently running now is airborne 5.1 with kernel SBC for Netarchy's 4.2.2 More Aggressive CFS SBC-net-4.2.2-more-havs-cfs-v7. I also know the kernel is not a problem because when I reinstalled the rom I did not add any of my apps or nothing and nor did I flash anything else. I just let my Rom load up downloaded spare parts just to see if the "0" was there and it wasnt, but once i rebooted my phone just to make sure it was really gone, I went back into spare parts and it was there again. Now my question to you guys is how do I get rid of this problem?
0 is the process id for stuff running as root. This includes all your system apps, gmail, market, etc
Sent from my PC36100 using XDA App
xHausx said:
0 is the process id for stuff running as root. This includes all your system apps, gmail, market, etc
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
So then u saying that "0" being there is normal? And if it is suppose to be there how come every time i go to it i get a force close ?
I would like to know too, appears to be eating my network when i goto spare parts network usage
I'm going to try to remove all root rights via superuser for the time being. thanks
djxstream said:
I would like to know too, appears to be eating my network when i goto spare parts network usage
I'm going to try to remove all root rights via superuser for the time being. thanks
Click to expand...
Click to collapse
same here and have you found a method that works? b/c I have still failed to figure out how to solve this problem :-/
Me three......how do you make it stop....please make it stop.lol
sent from a terminal in the nightlands...........
I have it on mine too but it isn't as bad as yours... Are your data icons constantly lit? Mine aren't and it's not consuming any extra battery life.
freeza said:
I have it on mine too but it isn't as bad as yours... Are your data icons constantly lit? Mine aren't and it's not consuming any extra battery life.
Click to expand...
Click to collapse
data icons lit? you mean like 3g, wifi, bluetooth...etc well then no there not lit i turn all of those off unless im home nd i want to download an app off the market or go on fb which is rarely

[Q] "0" Network Bug....any fix yet?

Is anyone still working on fixing the "0" network bug (as seen in Spare Parts) that is draining some of us of our precious battery?
That bug was in the Moment also, no one ever fixed it or could tell what it really was, there was another one also, either 0 would be there or the other...
Help support autism awareness,it only takes 2 seconds to help make a difference...
http://picketfenceblogs.com/vote/3616
siirus09 said:
Is anyone still working on fixing the "0" network bug (as seen in Spare Parts) that is draining some of us of our precious battery?
Click to expand...
Click to collapse
It's not a bug. A bunch of smaller services are all grouped into that. Pretty much anytime your phone uses 3G it gets grouped into that service. That is why if you try to view it in Spare Parts you get an FC. Most services have stopped running and it can't make a proper list. If you have Wifi available, switch it on and watch 0 drop.
ecooce said:
That bug was in the Moment also, no one ever fixed it or could tell what it really was, there was another one also, either 0 would be there or the other...
Click to expand...
Click to collapse
The bug has already been marked as something along the lines of being any root app or setting being grouped into that single UID. Im not sure if that goes the same for the Moment but thats the best someone has described it as for the Epic.
kennyglass123 said:
It's not a bug. A bunch of smaller services are all grouped into that. Pretty much anytime your phone uses 3G it gets grouped into that service. That is why if you try to view it in Spare Parts you get an FC. Most services have stopped running and it can't make a proper list. If you have Wifi available, switch it on and watch 0 drop.
Click to expand...
Click to collapse
I know it has been described as that but it IS a bug if its draining battery using the Network when it shouldnt AND its not happening to everyone. The smaller services are any root apps or settings you may have, which shouldnt be taking up more Network time than something that is more of a data user such as Facebook or YouTube.
Oh, and Ive had Wifi on for hours day after day and its still there.
siirus09 said:
The bug has already been marked as something along the lines of being any root app or setting being grouped into that single UID. Im not sure if that goes the same for the Moment but thats the best someone has described it as for the Epic.
I know it has been described as that but it IS a bug if its draining battery using the Network when it shouldnt AND its not happening to everyone. The smaller services are any root apps or settings you may have, which shouldnt be taking up more Network time than something that is more of a data user such as Facebook or YouTube.
Oh, and Ive had Wifi on for hours day after day and its still there.
Click to expand...
Click to collapse
What makes you think it is draining the battery? There is no way to tell how long it runs for and what services are in it? It is highest in my network usage until I ran email for a few minutes and that was higher. My battery is amazing, so it is not a battery drainer. It is just a bunch of unknown services that are not named.
kennyglass123 said:
What makes you think it is draining the battery? There is no way to tell how long it runs for and what services are in it? It is highest in my network usage until I ran email for a few minutes and that was higher. My battery is amazing, so it is not a battery drainer. It is just a bunch of unknown services that are not named.
Click to expand...
Click to collapse
All those services are using a bit of battery which amounts to a total of more than any other app that uses data that I have. If it wasnt draining battery it wouldnt be at the top and reduce the battery of whoever is affected by it from what Ive seen. It may not be affecting you but it IS a known case out there from what Ive seen in EVERY ROM thread.
siirus09 said:
All those services are using a bit of battery which amounts to a total of more than any other app that uses data that I have. If it wasnt draining battery it wouldnt be at the top and reduce the battery of whoever is affected by it from what Ive seen. It may not be affecting you but it IS a known case out there from what Ive seen in EVERY ROM thread.
Click to expand...
Click to collapse
If it's at the top of the list under "Network usage", that is not an issue. Pretty much any rooted kernel will display this process "0'" as the highest network user. Now if the bar is solid red, and your "Running" percentage is near or at 100%, then you have a problem. As long as it's not causing a wakelock, there is no cause for alarm.
siirus09 said:
All those services are using a bit of battery which amounts to a total of more than any other app that uses data that I have. If it wasnt draining battery it wouldnt be at the top and reduce the battery of whoever is affected by it from what Ive seen. It may not be affecting you but it IS a known case out there from what Ive seen in EVERY ROM thread.
Click to expand...
Click to collapse
Again, you have NO IDEA how long they are running...it could be 2 minutes. It is just the most used of your network. Lots of things on your Epic use network services but are not listed...because they are lumped into the 0 service. As Matt pointed out, if it is not red, it is not running constantly. Just because you don't know what something is doesn't make it a bug. This is doing exactly what Google meant for it to do, lump unknown (to the OS) network calls into a single UID. TWS was a real bug because it didn't matter whether you had signal or not, it was always 50%. Kswapd0 is a real bug because it is using CPU.

Battery Killer - Be ware of Google+

On of the top battery eater app - Google+
I've just found that Google+ app was eating most of my phone's battery.
Currently I have FB21 rooted stock rom on my phone and I found that Google+ was the most heavy battery using app whenever the instant upload option is turned on.
Whenever you install the current stock rom (rooted or not), by default, Google+ instant upload option is turned on. So, if you take any pictures or video, Google+ will try to upload all of your pictures and videos in the background.
If you are in the area where the signal is good, the uploading would be finished really quick but you're in the bad reception area, then this process will use most of your battery.
Be ware of this app and you need to check this option is turned on.
How-to enable or disable google+ instant upload:
1. Open Google+
2. Click menu and select settings
3. From Photo settings, check or un-check the 'Turn on Instant Upload'
Depending on your preference, you may keep this option turned on, be sure that you're in good reception area
To avoid battery drain, you may use the batch and bulk 'instant upload' option when your phone is plugged in AC outlet or USB port.
1. Open Google+
2. Click menu and select settings
3. Click on 'Upload now'
I hope this information may extend your battery life a little or more.
Thanks for reading!
i thought this was rather obvious. Any app that has some type of background monitoring/running functions is going to run your battery down. Disable all that superfluous crap, disable any auto update checking or notification checking.
G+ has been a known thing for awhile. Sadly it used to not be as bad when it was first released but it has gotten worse over time. I didn't run it for long on the ICS builds (only cause I didn't run ICS very long) but from what I saw it looked like it was working better there (ie took less battery life)
a, bro...I appreciate you posting this. Sometimes we need to be reminded of stuff like this. Im glad you were thinking of others. Keep up the good work!
kobridge said:
On of the top battery eater app - Google+
I've just found that Google+ app was eating most of my phone's battery.
Currently I have FB21 rooted stock rom on my phone and I found that Google+ was the most heavy battery using app whenever the instant upload option is turned on.
Whenever you install the current stock rom (rooted or not), by default, Google+ instant upload option is turned on. So, if you take any pictures or video, Google+ will try to upload all of your pictures and videos in the background.
If you are in the area where the signal is good, the uploading would be finished really quick but you're in the bad reception area, then this process will use most of your battery.
Be ware of this app and you need to check this option is turned on.
How-to enable or disable google+ instant upload:
1. Open Google+
2. Click menu and select settings
3. From Photo settings, check or un-check the 'Turn on Instant Upload'
Depending on your preference, you may keep this option turned on, be sure that you're in good reception area
To avoid battery drain, you may use the batch and bulk 'instant upload' option when your phone is plugged in AC outlet or USB port.
1. Open Google+
2. Click menu and select settings
3. Click on 'Upload now'
I hope this information may extend your battery life a little or more.
Thanks for reading!
Click to expand...
Click to collapse
I believe there is an option to only upload when connected to wifi. This really helps to minimize upload times and allows you to keep this feature.
Sent from my brain using XDA App
It did the same thing on the nexus with ICS. the other battery drainer was Maps.
Sent from my Nexus S 4G using xda premium
musclehead84 said:
It did the same thing on the nexus with ICS. the other battery drainer was Maps.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
I have been deleting or freezing Google+ and Maps on both phones for a while now. Google+ is especially brutal on Nexus ICS ROMs so it may be the same on our ICS ROMs as well
Sent from my Nexus S 4G using xda premium
musclehead84 said:
It did the same thing on the nexus with ICS. the other battery drainer was Maps.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Do you mean 'location history' in Google maps?
If you mean location history, I see that location history is disabled by default (stock rom).
jmoch2 said:
I believe there is an option to only upload when connected to wifi. This really helps to minimize upload times and allows you to keep this feature.
Sent from my brain using XDA App
Click to expand...
Click to collapse
Yes, you are right. Thanks for clarification.
There are two options under 'Turn on Instant Upload'.
- Over Wi-Fi or mobile network
- Over Wi-Fi only
By default over Wi-Fi only is turned on.

Battery drain by maps

Hi guys, I have this problem since last night. Maps are running in background and there is nothing I can do about it, restarted the phone, pulled the battery for couple of minutes, cleared maps cache and data,force stopped and nothing. Never had problem like this before with any of my phones. The phone is 8 days old and everytging is stock. Thanks
Sent from my GT-N7100 using xda app-developers app
I had the same problem, I solved by disabling all of the location options.
TMaLuST said:
I had the same problem, I solved by disabling all of the location options.
Click to expand...
Click to collapse
Hi and thanks for reply. I never keep my locatiom optiins on.. it is off since first boot .
Sent from my GT-N7100 using xda app-developers app
Check if you have your location history enabled on your Google account. I do now, and it causes maps to request a location rather often. The battery life on this phone is good enough for me to leave it on though, I find it useful every now and then
Sent from my GT-N7100 using xda app-developers app
Google now can drain battery with maps regardless of location settings.
Sent from my GT-N7100 using Tapatalk 2
adytum said:
Google now can drain battery with maps regardless of location settings.
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
This is not True. I went from losing 8% overnight to 2% just by ticking off the 3 GPS settings under location. Now when my screen is off, I rarely lose a %
Disable map caching
And post questions in q&a section.
Sent From Samsung's Galaxy Note II Using Internet
boodies said:
This is not True. I went from losing 8% overnight to 2% just by ticking off the 3 GPS settings under location. Now when my screen is off, I rarely lose a %
Click to expand...
Click to collapse
I said it can, not always. Gnow is buggy from time to time for some.
Sent from my GT-N7100 using Tapatalk 2
it may be ur latitude posting updates of your location to google in the background
Now it is ok. I restarted the phone couple of times until it was not showing that the maps are running. Battery performance is ok now. Every location service is off, and I never opened the latitude! Thanks for everything guys!
Sent from my GT-N7100 using xda app-developers app
Originally Posted by adytum
Google now can drain battery with maps regardless of location settings.
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
This is not True. I went from losing 8% overnight to 2% just by ticking off the 3 GPS settings under location. Now when my screen is off, I rarely lose a %
Click to expand...
Click to collapse
Thanks! I have ticked off these settings and it really works. It's simple, yet so battery life saving.
Sent from my GT-I9100 using xda app-developers app
UtkarshGupta said:
Disable map caching
And post questions in q&a section.
Sent From Samsung's Galaxy Note II Using Internet
Click to expand...
Click to collapse
How do you disable maps from caching?
Skickat från min GT-N7105 via Tapatalk 2
kingusienka said:
Thanks! I have ticked off these settings and it really works. It's simple, yet so battery life saving.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Glad it's working for you! Yeah this whole time I never knew how much GPS use was actually draining the battery. I actually read an article online yesterday that talks about how GPS uses a crap load of battery. As of this morning, I only lost 1% overnight. I have 3 emails syncing, wifi on, rest of the syncs all on, google now off. No power saving apps installed. I know i'm saying this in all battery related thread but i'm super excited just like you and want to share the knowledge to all our Note 2 buddies ^_^
Battery drain <- Maps Always On <- Now <- 4.1.2
I noticed Maps was grabbing about 30% of my battery drain so I set out to figure out the problem. Conclusions are:
- 4.1.2 seems to have changed how location is used. I had Google Now on 4.1 and never had this heavy a battery drain.
- Maps was constantly running with TWO services
- Maps did not have to be open or visible, and reboot had both come back even after stopping services
- Disabling "Google Apps Location Access" solved the drain but this made it basically impossible to use Google Maps, because
- Maps would not use GPS without "Google Apps Location Access" turned on
I considered uninstalling Google Maps but realized that:
> All my favourite locations are on Google Maps
> Other mapping software also seemed to want all sorts of invasive rights, which I was not going to grant
So I:
* enabled GPS
* disabled Google Apps Location Access
* uninstalled Google Search (aka Now) using a 3rd party tool (rooted)
* looked for a new search software (let's face it this isn't really necessary is it?)
* found and installed Yahoo Search which I must say seems faster, more interesting and does not require unwanted access to my private data
Battery drain is back to normal, I have ful search and maps and GPS use.
heinrich said:
I noticed Maps was grabbing about 30% of my battery drain so I set out to figure out the problem. Conclusions are:
- 4.1.2 seems to have changed how location is used. I had Google Now on 4.1 and never had this heavy a battery drain.
- Maps was constantly running with TWO services
- Maps did not have to be open or visible, and reboot had both come back even after stopping services
- Disabling "Google Apps Location Access" solved the drain but this made it basically impossible to use Google Maps, because
- Maps would not use GPS without "Google Apps Location Access" turned on
I considered uninstalling Google Maps but realized that:
> All my favourite locations are on Google Maps
> Other mapping software also seemed to want all sorts of invasive rights, which I was not going to grant
So I:
* enabled GPS
* disabled Google Apps Location Access
* uninstalled Google Search (aka Now) using a 3rd party tool (rooted)
* looked for a new search software (let's face it this isn't really necessary is it?)
* found and installed Yahoo Search which I must say seems faster, more interesting and does not require unwanted access to my private data
Battery drain is back to normal, I have ful search and maps and GPS use.
Click to expand...
Click to collapse
Let's face it. Google is king of search. And that has spread to other Google uses, maps being a major player. I think Google needs to solve this by fine tuning how and when maps and/or GPS is used. Another big thing is Google needs to fine tune how our phones retrieve data in general. Apple has and is still working on it. Intel is fine tuning it majorly and you can see some of the results on anandtech where x86 and ARM SOC's are compared on windows RT. Randomly retrieving data for all data and apps is a nightmare. It would be nice if we could fine tune our syncs and data retrieval in set intervals or let the OS have a smart system where if x app needs this and it see 3 or 4 or whatever x apps need to retrieve data in the next 20 mins it will retrieve all in one fell swoop causing less wake locks and more idle/sleep time.
Sent from my GT-N7100
I had a similar battery drain problem... ~8% per hour when screen was OFF! Finally solved it by turning off Google Now AND the Location Service it used. I guess the problem is due to location history collection performed for Google Now.
Sent from my GT-N7105 using xda app-developers app
Guys first thing first about battery draining is your mobile network not configure properly.. if its configure the network will not awaken your phone it just need a second to runing in background.. just realize it after I install configuration message from provider.. I drain 1% all over night.. and get 2day standby battery with medium usage.. 10 hours screen.. and leaving the phone with charging all night is weaken your battery.. first time I forget to unplug and everything change.. battery drain 5% after sleep 6hours..and only last for 1 day with medium usage.. 6hours on screen now I dont know how to make it back like it was.. using note for 3weeks anyone knows how to increase batt life without changing rom or kernel ?? Im still runing stock 4.1.1
Sent from my GT-N7100 using Tapatalk 2

If Maps is showing in your battery use list for no reason

It's probably Google Now's location sharing stuff. You can turn it off by going into maps -> settings -> turning off anything like Lattitude Location sharing, location reporting, and enable location history. You can also go into google now -> settings and try turning off stuff there too.
On my phone, Maps was always near the top of the battery list for no reason I could think of, and once I turned all of that off it disappeared after a day of usage. Awesome right?
so what is the point here? lol i bet everyone knows this
There were people wondering why in the 4.1.2 update threads, so I guess I could've searched, but I don't think it hurts to point it out again anyway
TBH I never had that problem on my last phone, so whatever.
OoTLink said:
There were people wondering why in the 4.1.2 update threads, so I guess I could've searched, but I don't think it hurts to point it out again anyway
TBH I never had that problem on my last phone, so whatever.
Click to expand...
Click to collapse
Although I've known this since the the Nexus S, doesn't mean the average user does, and there are some average users on this site, so this is some good info to pass around.
Had this issue on my s3 and noticed Google now was definitely the culprit. I have it on now being I just got my note to see how the life is on the battery. If to bad, then off it goes. Surprised so far.
Sent from my SGH-T889 using Tapatalk 2
I don't know what update happened but it seems like now in order to use maps or navigation I HAVE to turn on location sharing. Inevitably, I forget to turn it off and it eats up my battery. Don't know if it was the MB4 update or an app update but it's kind of annoying.

Categories

Resources