[Guide]Battery Problems- Solved & Battery Saving Tips[Newbie Friendly] - Galaxy Ace S5830 General

I have seen lots of threads about people complaining about very poor battery life after flashing roms. Sometimes battery charges to 100% quickly and discharges very quickly.
So, these are the solutions. These solutions are IN ORDER. If the first one has no effect, then try the next one. If the second one doesn't work, then try the third one.
Now-
1) Try reflashing your ROM.
2) If reflashing your current ROM doesn't work, that probably means the ROM itself has poor battery life and you should change it. Stock ROM's have the best battery life.
3) If you are on stock ROM and still having problems, switch off your phone, take off the back cover and remove the battery. If the battery is swollen or the shaped weirdly, this means your battery is dead and almost useless. You need to buy a new one.
I recommend buying only stock batteries manufactured by Samsung because other batteries can be fake, incompatible, or just used batteries sold to you. Don't buy anything else unless you're absolutely sure of what you're doing.
Hopefully I helped.

Re: Solutions to Battery Problems[Newbie Friendly]
General tips for saving your battery-
1) Switch off mobile data whenever you're not using the internet.
2) Change your wifi sleep policy. This can be done by going to wifi settings, pressing menu button and then select advanced.
You can change your sleep policy so that your wifi sleeps when the screen is off.
3) Decrease your brightness! Your screen is responsible for most of the battery drain. Increase your brightness only when you are in bright sunlight or when you're watching videos etc.
4) Switch off GPS. Keeping it on all the time also drains a lot of battery.
5) There is an app called 'Greenify' which hibernates the apps running in the background. This app has increased my battery life. Here a link https://play.google.com/store/apps/...e=google&utm_medium=organic&utm_term=greenify
6) Don't charge your phone when it's at 70%. Wait till it is between 20-30% and then charge it continuously till it reaches 100%.
7) Let your battery completely discharge once every month.
8) Don't use task killers. They use more battery life than they save.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
10) If you use a Bluetooth headset, switch off Bluetooth whenever not in use.
11) Using setCPU profiles. This is one of the most effective ways of saving battery. You all know about overclocking, but do you know about underclocking or undervolting? Using profiles, You decrease the clock speed of your CPU when certain conditions are met. These profiles can be on the basis of time, screen off/on, battery etc. So when my screen is off, it automatically reduces the clockspeed which saves battery

chalak said:
General tips for saving your battery-
1) Switch off mobile data whenever you're not using the internet.
2) Change your wifi sleep policy. This can be done by going to wifi settings, pressing menu button and then select advanced.
You can change your sleep policy so that your wifi sleeps when the screen is off.
3) Decrease your brightness! Your screen is responsible for most of the battery drain. Increase your brightness only when you are in bright sunlight or when you're watching videos etc.
4) Switch off GPS. Keeping it on all the time also drains a lot of battery.
5) There is an app called 'Greenify' which hibernates the apps running in the background. This app has increased my battery life. Here a link https://play.google.com/store/apps/...e=google&utm_medium=organic&utm_term=greenify
6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%.
7) Let your battery completely discharge once every month.
8) Don't use task killers. They use more battery life than they save.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
10) If you use a Bluetooth headset, switch off Bluetooth whenever not in use.
Using these tips, I have gotten almost 2 days of battery life on stock Roms and a whole day of battery life on custom roms like CM10.1 and CM7
If you have your own battery saving tips, please share and help expand this list.
Click to expand...
Click to collapse
I'm interested in the greenify app, the only problem is that it does not support stock gingerbread which can give the most juice. Do you have any other recommendations of similar apps?

stevenkyk said:
I'm interested in the greenify app, the only problem is that it does not support stock gingerbread which can give the most juice. Do you have any other recommendations of similar apps?
Click to expand...
Click to collapse
Greenify is a unique app and I am yet to come across a similar app.
You can try this one but it is paid - https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Sent from my pet - Megatron™

6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
Are you sure about these? Because I've read that phones only take how much ever charge that they need, so charging overnight isn't a problem. And i've also heard that letting the battery charge fall below 40% actually reduces the life over time.

Ajayr64 said:
6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%.
9) NEVER charge your phone overnight. Your phone takes only about 4 hours to charge. Overcharging reduces your battery life
Are you sure about these? Because I've read that phones only take how much ever charge that they need, so charging overnight isn't a problem. And i've also heard that letting the battery charge fall below 40% actually reduces the life over time.
Click to expand...
Click to collapse
Yes, I am sure and it is something I have verified.
Overcharging kills the battery.
I saw a video once of an evo 3d. The battery almost completely died after it was charged for 3 days
And you should always charge only when your battery is low.
This will ensure longer battery life

chalak said:
Overcharging kills the battery.
Click to expand...
Click to collapse
Normally, when the battery is fully charged, the chip that controls the charging process reduce the current exponentially to 0: this avoid the overcharging.
I think all smartphones have the charging chip control integrated (an USB cable is simply a power source, not a battery charger), so I hope we can leave the phones on charge all the night without any problem. I do that always and never had problems.

Clearing battery stats has no effect whatsoever on battery life ...

Prawesome said:
Clearing battery stats has no effect whatsoever on battery life ...
Click to expand...
Click to collapse
Well, if you see again, I never mentioned that clearing battery stats saves battery. It is for those people whose phone charges very quickly with big increments, which typically happens after changing ROM's.
Sent from my pet - Megatron™

smanq said:
Normally, when the battery is fully charged, the chip that controls the charging process reduce the current exponentially to 0: this avoid the overcharging.
I think all smartphones have the charging chip control integrated (an USB cable is simply a power source, not a battery charger), so I hope we can leave the phones on charge all the night without any problem. I do that always and never had problems.
Click to expand...
Click to collapse
It seems both of us have read conflicting and contradicting things.
Sent from my pet - Megatron™

chalak said:
Well, if you see again, I never mentioned that clearing battery stats saves battery. It is for those people whose phone charges very quickly with big increments, which typically happens after changing ROM's.
Sent from my pet - Megatron™
Click to expand...
Click to collapse
Quoting Dianne Hacborn(Android Framework Engineer):
"Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/directory."
No, it does not.
This file is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings.
That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
Deleting it is not going to do anything to make your more device more fantastic and wonderful... well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it go away."
Its just a myth mate..

And also, it's a myth that you should let ur phone charge reach 10% or get fully discharged before charging. This actually leads to decrease in the battery life over time.

Prawesome said:
Quoting Dianne Hacborn(Android Framework Engineer):
"Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/directory."
No, it does not.
This file is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings.
That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
Deleting it is not going to do anything to make your more device more fantastic and wonderful... well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it go away."
Its just a myth mate..
Click to expand...
Click to collapse
I am aware of what you are saying and I fully agree.
But I have never mentioned that clearing battery stats increases battery life!
Tips to increase battery life are in the 2nd post. I simply said that if you clear your battery stats, UI will show you battery which is more accurate to the actual battery level.
Why are you arguing over something I never said?
Sent from my pet - Megatron™

Ajayr64 said:
And also, it's a myth that you should let ur phone charge reach 10% or get fully discharged before charging. This actually leads to decrease in the battery life over time.
Click to expand...
Click to collapse
Think of your battery as a person working out and charging is like taking rest. If the person's ability is to do 100 reps yet he takes rest after only 60 reps and keeps doing that continuously, he won't be able to do 100 reps after a few weeks!
Look at the logic mate.
Sent from my pet - Megatron™

chalak said:
I am aware of what you are saying and I fully agree.
But I have never mentioned that clearing battery stats increases battery life!
Tips to increase battery life are in the 2nd post. I simply said that if you clear your battery stats, UI will show you battery which is more accurate to the actual battery level.
Why are you arguing over something I never said?
Sent from my pet - Megatron™
Click to expand...
Click to collapse
I am not arguing :/
I am just trying to help make your guide more Informative. Read what I have put in bold letters mate. It doesn't affect the battery level shown to you

Prawesome said:
I am not arguing :/
I am just trying to help make your guide more Informative. Read what I have put in bold letters mate. It doesn't affect the battery level shown to you
Click to expand...
Click to collapse
Sorry if I sounded rude.
And thank you for your advice.
Sent from my pet - Megatron™

Updated
Sent from my pet - Megatron™
(I was Chalak)

Thanks for tips

You misunderstood me :'D
Clearing battery stats does not:
Affect battery life
Affect the battery level displayed to you
The only thing it does is, it wipes the history of battery consumption by each app. I am talking about the battery consumption by each app shown to you in Settings>About phone. If you clear the battery stats.bin file, the only thing that geta erased is this

Prawesome said:
You misunderstood me :'D
Clearing battery stats does not:
Affect battery life
Affect the battery level displayed to you
The only thing it does is, it wipes the history of battery consumption by each app. I am talking about the battery consumption by each app shown to you in Settings>About phone. If you clear the battery stats.bin file, the only thing that geta erased is this
Click to expand...
Click to collapse
This! Anything about wiping battery stats is not a myth anymore, so please stop misleading people,
Also "6) Don't charge your phone when it's at 40%. Wait till is below 10% and then charge it continuously till it reaches 100%."
Not true! Charging your battery around 50% is the most efficient way to keep lithium battery alive longer. A discharge once a month is also recommended.

Related

[SOLVED] + [BRAINSTORM] Battery Calibration

Just wanted to open up a thread here to see what we can do about battery calibration issues.
Not sure, but I read around that people are getting phone shut downs at the 10%-15% ranges.
When in actual fact it should be somewhere around the 1%-5% range?
Was wondering if there is some possibility in coding the phone to read the battery state better? Thus, eliminating the need for calibrating the battery through tradition means (ie: wiping, charging, etc)
Thoughts?
EDITS:
We've managed to figure out huge boundaries for the battery.
There are currently two ways to get your battery into "learn mode" - which will adjust the values of your battery to accurately reflect it's "age" and mAh tracking. This will lead to a fix for those of you who are currently facing issues with the battery shutting down anytime before the 1% mark.
1st fix:
1) Drain battery
2) Just as the battery hits "Shutting Down", plug in your charger
3) Let the phone power down
4) DO NOT TURN ON THE PHONE
5) Let it charge up overnight or something along the lines of 4-6 hours, which should ensure it will be fully charged
6) Power up, your phone should be calibrated and will now shut off at 1%
2nd fix:
Head over to the Battery Calibration Tool Thread which spawned off from the discussions here!
>> http://forum.xda-developers.com/showthread.php?t=765609
For those who have been following the thread and wonder what your status_reg value mean theloginwithnoname has kindly provided us with some datasheets and translations, which you can get with the following links:
Binary Conversion: http://forum.xda-developers.com/showpost.php?p=8013370&postcount=548
Then refer to Page 25 of the following datasheet: http://datasheets.maxim-ic.com/en/ds/DS2784.pdf
OR you can try out mtw4991's method to get learn mode done with the battery app that's been created out of this brainstorm thread.
The link to his method is > http://forum.xda-developers.com/showpost.php?p=9583271&postcount=340
I began this thread in other to simply find a fix for our current battery % meter. Basically, users (myself included) were having a problem with inaccurate battery % readings. Some N1's would shut down above 1% and this would leave many guessing when the battery would give out.
Needless to say, here at XDA - we managed to find the fixes. ;-)
And of course, we decided to take it to the next level.
How can we now push more out of our batteries?
RogerPodacter and theloginwithnoname have been working endlessly learning and understanding the how the battery registry works and together with dvgrhl they're finalizing a battery mod app which will help the N1 cope with the "learn mode" and changes. So do thank them for the great work they've been pushing out with! =)
They've helped us hammer out all the core details concerning the battery understanding, values, binaries, and we're wading through the mess to push the limits on the batteries (short of blowing them up as usual of course).
Be patient if the app isn't ready yet. And if you're a n00b, please don't mess around with the registry values and such if you have absolutely no idea what you're doing.
No one is gonna give a rat's poopoo if you blow up your phone and set your house on fire and gremlins kidnap your toes.
Peace out.
This thread is and methodology has served its purpose and many of us from this thread have moved on over to the Battery Calibration TOOL thread. The methods still work, but so do the newer methods at the tool thread, which I personally find is much easier and better.
If you'd like to use the manual method, it'll still work.
For those more interested in the newer method and I encourage you to do so - head on over through this link > http://forum.xda-developers.com/showthread.php?t=765609
+1
It happened to me yesterday. I am playing with my phone and I needed to check an important address on Google Maps, so I was thinking "Oh great I still have 9% battery" and then all of a sudden BOOM. It powered off. I mean seriously WHY have those extra 9% if I am never going to use them. So In reality my phone battery is like 80%
100%-(first 10% which drain in like 5-6minutes) - 10% that I never use cause the phone shuts off = 80% BOOOOOOOOOOOOOOOOOO NOT COOL
happened to me on cm 5.0.7.1 about 7% battery
I guess this would be an appropriate time/place to ask this question. I had someone PM me asking how to calibrate their battery and I didn't know if I provided them with the correct response. What I've always done is let the battery drain ALL the way down until it dies~usually about 1% and then fully charge the phone while it is off. Then, let it die down once again on that charge and repeat the charging while the phone is off. Is that the correct way to calibrate the battery or am I taking unneccesary steps?
THATTON said:
I guess this would be an appropriate time/place to ask this question. I had someone PM me asking how to calibrate their battery and I didn't know if I provided them with the correct response. What I've always done is let the battery drain ALL the way down until it dies~usually about 1% and then fully charge the phone while it is off. Then, let it die down once again on that charge and repeat the charging while the phone is off. Is that the correct way to calibrate the battery or am I taking unneccesary steps?
Click to expand...
Click to collapse
No idea as well honestly. I've never charged my phone while it's off... so that might be the issue...
But then again, my phone has often turned off at the 10% mark. So that's why I thought I'd get more input here on how we can actually find a way to calibrate our batteries or something.
i have two oem batteries and a dock..Everyday I completely drain the first and swap it out with a fully charged one off the dock and both batteries perform great and never shut down above 1% every single time. So the batteries are always completely drained and then have a slow no stress recharge, maybe this is why mine go to 1%?
chowlala said:
No idea as well honestly. I've never charged my phone while it's off... so that might be the issue...
But then again, my phone has often turned off at the 10% mark. So that's why I thought I'd get more input here on how we can actually find a way to calibrate our batteries or something.
Click to expand...
Click to collapse
I notice that if I charge my phone while it is off and take it off about 20 minutes after the light turns green, the discharge rate is MUCH slower than if I charge it while the phone is on. Or, I will charge it while on, let it get to 100%, turn it off and continue to charge until the light turns green again. Either of those two ways give me the best results for battery life.
Doesn't the Li-on type of battery calibrate itself when charged from 0% (or the specified minimum) to 100%?
THATTON said:
I notice that if I charge my phone while it is off and take it off about 20 minutes after the light turns green, the discharge rate is MUCH slower than if I charge it while the phone is on. Or, I will charge it while on, let it get to 100%, turn it off and continue to charge until the light turns green again. Either of those two ways give me the best results for battery life.
Click to expand...
Click to collapse
Hmm. Interesting thought. Guess letting it charge to 100 while its on is one thing, then turn it off so it maxes out before daily use. I'll try that tomorrow morning and see.
Stats have been recalibrated to pershoots kernels already. So tomorrow will be a good testing day.
LiOn batteries should NOT be drained completely. It is bad for them. You should simply charge to 100%, turn the phone off, let it continue to charge (you may be at 100% when in OS but not truly 100% to the battery) and then wipe battery stats.
hah2110 said:
LiOn batteries should NOT be drained completely. It is bad for them. You should simply charge to 100%, turn the phone off, let it continue to charge (you may be at 100% when in OS but not truly 100% to the battery) and then wipe battery stats.
Click to expand...
Click to collapse
Yeah, the discharge part is actually true. There's more info here bout the batts, but nothing much bout calibration.
http://forum.xda-developers.com/showthread.php?t=669497
chowlala said:
Hmm. Interesting thought. Guess letting it charge to 100 while its on is one thing, then turn it off so it maxes out before daily use. I'll try that tomorrow morning and see.
Stats have been recalibrated to pershoots kernels already. So tomorrow will be a good testing day.
Click to expand...
Click to collapse
The biggest thing I noticed right off the bat in doing this was that normally my battery drains from 100% to 90% in less than 30 minutes. After doing what I suggested, I see that my battery discharges much slower from 100% to 90%! Hope it works for you.
My phone was doing that ALL the time. Here's what i did that fixed the issue for me.
1.) Let my phone die as usual.
2.) KEPT IT DEAD... for 1 day
3.) Charged with the phone OFF for 1 day.
4.) Went to RA's recovery as soon as i turned the phone on and reset Battery Settings.
5.) Rebooted and all is well.
I hope this helps someone else.
(My phone would die at 13% EVERY time. It got really annoying when trying to Navigate when i forgot my USB cord for my PowerCup. :< )
And yes i know about the whole not letting Lion Batteries die. When i worked for T-Mobile and the customers would bring in their N1's doing this, every call to HTC this is what they told me to do. (Minus the whole awesome recovery and such). They said letting the battery drain will not hurt the phone as long as it regains 100% charge after the initial drain.
AGAIN. This worked for Me. So im not promising you anything. Plus the batteries are only 25 bucks from Google. And i have 4 extras... Just in case. I would invest in some if i were you. Cause lord knows, were going to do some SERIOUS stuff to our phones. Extra Batts dont hurt.
Lithium batteries don't have memories, that's a leftover idea from the old Nickel Cadmium (NiCad) and NiMh (Nickel Metal-Hydride) days. The idea with Lithium (Ion & Polymer) should pretty much just be charged up whenever. Letting them be drained completely isn't good for them and will reduce their lifespan (reduced mAh) although it won't almost immediately kill them ala lead-acids. Overcharging them via a circuit with a poor cutoff also isn't good for them as they'll heat up, phones or any decent AC charger should stop charging when they hit 100% though.
Probably about the best you can do is charge it to 100%, pull the battery and reboot the phone and then reboot it again. The charge calculation will be based on the rated mAh of the battery which depending on the quality of the battery and the charging system of the device could end up giving you some funny figures. Not much you can do about it though.
I just wanted to say that this link does mention a proper calibration charge, it just does not go into detail.
Item 3 of "General Lithium-Ion Battery (LIBs)Usage":
• Although it is said that LIBs do not have memory, it's not entirely true. LIBs have gauges that monitor performance of cells, and if you do a lot of small charges, it won't let those gauges to monitor a full battery potential, causing an invalid indication of charge level. A complete charge/discharge should be made when battery capacity seems reduced, that will calibrate gauges and they will provide your phone with correct charge level status. A full charge/discharge cycle should be done every 30 (or so) partial charges.
Click to expand...
Click to collapse
My assumption of a complete charge/discharge cycle would be:
1. drain battery until the device dies
2. charge the battery to 100%
3. power device on
4. drain battery fully until device dies (no small charges!)
5. charge battery to 100%
This should allow the battery gauges to recalibrate and improve battery capacity.
People seem to be in the dark about lithium ion batteries, how they are charged, and how the device estimates battery charge remaining.
Lithium batteries do not have memory effects, but the phone does keep a file with charge info about the battery; it uses this to estimate charge left and how to charge safely when the device is powered on.
When properly charging a Li-ion battery, the last 10% of the charge should take almost as long as the time it takes to charge from 0 to 90% (well about half as long meaning a full third of the charging time should be going into the last 10% of the charge) Charging with the device off, charges the battery more completely and consistently.
Li-ion battery chargers use a type of charge cycle called constant amp/constant voltage. The battery will be force fed amps until the battery's voltage peaks and it will then be fed a constant voltage. (around the 90% charge mark) During the constant voltage phase, the amps that the battery is taking in will be monitored; as the battery gets closer to full charge the amperage will drop more and more, until it is just a tiny trickle. When it gets to that point, the battery is fully charged. Obviously charging with the device still powered on creates a problem for that type of charging. So the battery can only be charged to the peak voltage, then the charge cycle must stop; as the last 10-15% of the charge can not be completed safely.
It is always good to let a device run until dead and then charge with the device off a couple times when the device is new, and then charge the device from empty while powered off once every couple months. (do not do it too often, as Li-ion batteries prefer to be between 50-80% charge for longer service life) This allows the device to maintain a proper reference data file on the battery and its charge state. this data file is what Android uses to estimate the charge in the battery, if the file is not accurate, the device may power down sooner than it should, or not charge fully to a true 100% state. (peak voltage state when powered on that is)
Also, Li-ion batteries are rated for capacity from a discharged voltage of 3v. So a 1500Mah battery is rated to provide 1500mah of power from fully charged to a final discharged voltage of 3v.
I do not know what the minimum operating voltage of various devices is, but if it is higher than 3v; then the phone must shut down at its min operating voltage and not the 3v needed to get full capacity. My Nexus one shuts off around 3.5v so there is around 25% of the actual rated battery capacity left. (remember what I said about Li-ion batteries liking to be between 50-80%, this left over capacity means that running the battery dead repeatedly is less harmful than if you drained the battery to a true 0% state)
There is also a voltage drop on a battery when under load. So if you are putting a heavy load on the device (like a 3D rendered game heavy gps use) then the battery voltage may drop to below the device’s min voltage. This means that if the phone shuts down during this time, you could probably turn it back on and get a few hours of standby or a few more minutes of light use. This could be another cause for people seeing shut downs when the battery gets around 10%.
The amount of power in a battery is high, especially in Li-ion batteries with their high energy densities. Over charging a Li-ion battery can cause an explosion, literally, that little battery in your phone could remove some fingers. Over discharging is bad as well, as it can start a fire; though like I mentioned above, the cut off voltage is above the 0% state, so that is unlikely here.
Ive proposed this before and got a bit shouted down, but thumbs up if anyone comes up with anything
As i see it, its not a problem with the battery. Its a problem with the battery meter. Since following a regime of deleting my batterystats.bin file, i dont see that issue. Its the same on my g1 as it is on my n1.
This is what i do... when i charge my phone, i charge it until 100%. When it reaches that 100%, i use either use the terminal or root explorer to delete the batterystats.bin file. After which i immediately power off the phone. Now, when its powered off(and still attached to the usb charger) the light should be green. But usually its not! Sometimes it charges up to a full hour longer before it turns green! When it turns green, power the phone back up and enjoy tue extra kick of battery life. Its not actually gaining battery life, its just resetting tue battery meter in the phone. This could only be done with a rooted phone. Oh, i think that this whole innaccurate battery meter thing is a problem with android in general. The meter becomes innaccurate with time. Sometimes extremely innaccurate.
Using the terminal...
su(press enter)
rm /data/system/batterystats.bin(press enter)
Then power off
Wow. Lotsa pewpewz here. Haha.
Again, after all the discussions, seeing that most of us agree the N1 keeps "stock" of how the battery chargers, is there a way for us to check or see how the battery is being calibrated, etc?
Not so much an app to modify the calibration, cuz that'll just be too dangerous, but something more like a tool to monitor it, so we know if it's calibrated right or wrong.
Deleting the batterystats.bin file isnt an app. Its either a script you run to delete it or physically deleting it. And its not dangerous. Ive done it well over a thousand times with my g1 and n1 combined. If you wanted to find out how the calibration work, i guess you could make a copy of your batterstats.bin and read it

Ways to improve your battery Life

Hi All,
After googling lot on improving the battery life.. I found many ways to improve the battery life. Sharing it with you..
1. Use Auto Killers - Kill all the background processes. *
2. Use in Aeroplane Mode - while you are in out of signal area. ****
3. UnderClocking - Apps available like setCPU, OverClockWidget, cpuTuner.. sets the clock frequency to lower values when screen is off. ****
4. Undervolting - make processor to work below the standard voltage. This is kernel level configuration.. not sure how to implement..
5. Use a powerful battery - there are some batteries with more mAh which last longer. ***
6. Proper Charging - ****
turn off the phone, plug it in, preferably overnight.
boot the phone up while still plugged in.
delete the batterystats.bin file ether through adb, Root Explorer or terminal
drain the battery fully, until it powers down. wait a min or two and reboot it to completely drain it.
then your phone now knows correct voltage values for 100% and dead.
Remember: Flashing a new Android build erases the battery stats, and automatically rebuilds them based on voltages it see's.so must recondition after each flash to get max battery life.
Please Reshare your view and observation...
I was out of WCDMA range for a week over Christmas (just GSM network available) and using my phone with Wifi and a bit of Bluetooth Audio (and even a bit of angry birds!) The battery lasted for.. wait for it..
5days, 3h, 27min 29sec (I put it on Charge at 23% capacity!!) so I think I could have got 6 or even 7 days out of it (not that I would let the battery get that low on purpose)!
must be some kind of record!
and in reply to the above post about discharging the battery.... (I don't want to bore people on here with another one of my Li-po Battery care rants so I will keep it short this time)
I wouldn't recommend discharging Li-Po batteries too often, they hate it and it can significantly reduce the over all life of the battery (which would suck for the mini) I say leave the charging up to the phone and just top up regularly using a low Amp charger (USB is good or other 500mA charger, I feel the 850mA charger that came with the phone is a bit over powered) try not to let the phone discharge until it shuts off (this is triggering a safety switch to protect the battery from damage, and its not good for it)
That is all.. carry on.
whats battery duration for x10 mini pro?
with a normal / litle intensive usage, my battery must be charged every day.
Is this normal?
bitmovel said:
whats battery duration for x10 mini pro?
with a normal / litle intensive usage, my battery must be charged every day.
Is this normal?
Click to expand...
Click to collapse
I usually get 2 or 3 days. On days that I skype, I have to recharge. It depends a lot on usage. I guess that, if you don't use the smartphone capabilities, you will get an even longer battery time.
More info about the battery on the wiki.
I was just rereading the comment of kiwi braad worst, and he might have a good point on using a low amp charger. I mostly use the charger from the usb. When I use the charger that came with the phone (850mA) I get less battery. Though, that could be placebo effect.
Sent from my U20i using XDA App
bitmovel said:
whats battery duration for x10 mini pro?
with a normal / litle intensive usage, my battery must be charged every day.
Is this normal?
Click to expand...
Click to collapse
My experience with the X10 Mini (not PRO) is that the battery life gets better over time. It's worth discharging and recharging the battery fully a couple of times and then resuming a 'normal' charge routine - let it drop below 20 or 15% and charge it until it's 80%+ charged. When I first got my phone it needed a charge every day. Now it needs one every three or more on average. I've also found that turning off the 3G aerial (allowing GSM only) and manually selecting the network operator (preventing regular polling) helped extend the time between recharges. There are widgets available that will allow quick access to those functions when needed. I will say that I'm not an 'always-on' kinda user. It's mostly a phone/music player to me, but once or twice a day I check email, browse web etc
Try Juice Defender
The two biggest things on my battery use is the display and the cell standby.
So the best way to save battery would be not to use it that often....
sucks but that is pretty much the truth about it.
spence91 said:
The two biggest things on my battery use is the display and the cell standby.
So the best way to save battery would be not to use it that often....
sucks but that is pretty much the truth about it.
Click to expand...
Click to collapse
I Turned the brightness down and that gave me abit extra.
One very good way to save battery power is to disable vibration if possible. Vibration uses two times more battery power than ringtones due to the low frequency required by the speaker. Disable vibration and save batter power.
Use an application that can edit cpufreq, like Overclock Widget and SetCPU to reduce battery power when screen turns off
Overclock widget can set different cpu max and min speeds for when screen turned on or off.
Battery Diviner can record patterns in battery usage and change performance according to your usage.

Myths about batterystats.bin

So i was browsing the Nexus S forum and Google+ and found an interesting post by one of Android/Google engineers : https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory."
No, it does not.
This file is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings.
That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
Deleting it is not going to do anything to make your more device more fantastic and wonderful... well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it go away.
Click to expand...
Click to collapse
The whole idea of erasing that file having any effect on battery life is pure superstition and wishful thinking. The battery usage UI describes what your device has been doing that has been consuming battery; it doesn't change how the device is using the battery.
You want to "refresh" your battery stats? Charge your phone. When you unplug it again, the device knows it's at full charge (because the battery firmware says so), so the stats tracking treats that as a known milestone for reporting purposes.
Click to expand...
Click to collapse
interesting!
I never wipe my batterystatus.bin till now!
I also think it doesn't doing anything but never knew that reson thanks for sharing
Does this mean that calliberating your battery has NO effect? I've seen so many devs themselves recommending it. (ofcourse I might be understanding this whole thing wrong)
myozeus said:
Does this mean that calliberating your battery has NO effect? I've seen so many devs themselves recommending it. (ofcourse I might be understanding this whole thing wrong)
Click to expand...
Click to collapse
well, franciscofranco, our kernel 'god', didn't wipe batterystats.bin in his life before. however i always flash things on a full charge just in case
well when you calibrate the battery you only del this file.
this is a one second task
on a macbookpro the calibartion of the battery takes a long time.
so I would not really call this calibration at all.
Thanks for the info...
It'll save time for the people like me ;-)
i never used that option ever
i have very good battery life xd
cekuhnen said:
well when you calibrate the battery you only del this file.
this is a one second task
on a macbookpro the calibartion of the battery takes a long time.
so I would not really call this calibration at all.
Click to expand...
Click to collapse
A Laptop battery has many cells, and, once a while, they get different charges among them, that's why you have to fully discharge your laptop battery once a month, to get them all to the same amount of charge.
Since our phones have one cell in their batterys, I don't know if it's really necessary to calibrate them.
myozeus said:
Does this mean that calliberating your battery has NO effect? I've seen so many devs themselves recommending it. (ofcourse I might be understanding this whole thing wrong)
Click to expand...
Click to collapse
no. caliberating does have good effects. but caliberating does not mean deleting the file. it means charging full n emptying it full n charging full again...
harshdoshi25 said:
no. caliberating does have good effects. but caliberating does not mean deleting the file. it means charging full n emptying it full n charging full again...
Click to expand...
Click to collapse
Actually, lithium ion batteries do not need calibration. Period.
The elements its comprised of have no "cell memory" and the battery firmware is hardcoded with the knowledge of what a full charge should be. Anytime you drain your battery past normal thresholds, it just puts extra wear and tear on the cells and reduces its ability to hold a full charge. By intentionally draining the battery in one sitting, all you're doing is stressing the battery and causing the problem you're trying to correct.
Long story short: Don't calibrate; it just hurts your battery.
Now, if you had a NiMH or an older LiPoly battery, I'd say go right ahead and try to calibrate them if they aren't holding a charge. These types of batteries do have "cell memory" and can often forget what a full charge is.
This information is widely available; it's no secret and I'm not making it up. You can search for yourself or read up on it at Battery University.
Tonhos said:
A Laptop battery has many cells, and, once a while, they get different charges among them, that's why you have to fully discharge your laptop battery once a month, to get them all to the same amount of charge.
Click to expand...
Click to collapse
Actually, capacity drops in multi-cell batteries are typically due to voltage drops in certain cells. Draining the battery won't bring them back; you're only going to hurt the capacity of the rest of the cells. The only solution is to replace the defective cells.
Placebo placebo placebo, like I have always said. And like "theanykey" said, do not let lithium ion battery go completely empty, it just reduces battery lifespan. Seriously.
calibrating a Lithium ION battery does have some effect. 9x out of 10 there is some type of protection circuit on the battery that monitors its maximum charge, lowest charge, and wear levels and static values set by the manufacture.
Often times there can be a false wear level (wherein the wear gets set too high, usually caused by disconnecting the battery from a charge at like 95% or running the battery down to below 10%) and the charging circuitry within the battery WONT charge above that level.... to circumvent that improper wear level... a full charge, then FULL drain, then full charge is needed to properly reset those values and gain you extra battery life as the battery gets charged more.
nd4spdbh said:
calibrating a Lithium ION battery does have some effect. 9x out of 10 there is some type of protection circuit on the battery that monitors its maximum charge, lowest charge, and wear levels and static values set by the manufacture.
Often times there can be a false wear level (wherein the wear gets set too high, usually caused by disconnecting the battery from a charge at like 95% or running the battery down to below 10%) and the charging circuitry within the battery WONT charge above that level.... to circumvent that improper wear level... a full charge, then FULL drain, then full charge is needed to properly reset those values and gain you extra battery life as the battery gets charged more.
Click to expand...
Click to collapse
Wear level has nothing to do with usable capacity and is not accounted for during charging. It's an arbitrary number that exists solely so people will replace their batteries sooner than necessary. If I recall, its not uncommon for wear level to be calculated by charge cycles. So, by "calibrating", you may actually worsen the wear level.
Also, you do realize that lithium ion batteries never fully discharge, right? Once they do, they're dead.
If you want a technique that actually increases short-term capacity(at the expense of ruining the battery's longevity), look up bump charging.

Battery draining within hours.

I have a extended battery. I usually get 2 days use on a charge. about a week ago I cannot make it thru a day. The battery is only about 6 weeks old. I tried another battery and same thing. I use task killer and app cleaner and have restarted several times. When I look in battery usage is shows the Android OS using 24% Display 26% and phone idle 24%. I did update all my app and this seemed to help just a little. Anyone have any suggestions before I return my extended battery or do a factory reset. tks in advance.
have you tried draining the phone completely till it shuts off, then plugging it in and letting it charge to 100% with the phone powered down?
Battery instructions say NOT to every let battery drain to 0. So not sure I should try that.
cdenloe said:
Battery instructions say NOT to every let battery drain to 0. So not sure I should try that.
Click to expand...
Click to collapse
That is about the life that I get on mine on a bad day. Now that you have had the phone for a while, more than likely, your battery has not changed but you have installed more apps which are draining you battery even faster. You shouldn't use task killers either, they screw with the roms built in memory management. However, if you must, then use "Task Manager" the built in stock task manager to end apps. Also i agree that you should completely discharge your battery and then let it recharge completely without turning it on and without using it.
PS: You have a nice avatar. Conservative til i die
cdenloe said:
Battery instructions say NOT to every let battery drain to 0. So not sure I should try that.
Click to expand...
Click to collapse
This is not true. The phone has its own power management. When you reach 0%, the battery has still at least 3100mV (on mine it's more than 3200mV).
Li-On and Li-Pol batteries are designed to operate between 4300 and 3000 mV when they reach more or less, than they are damaging.
So you can charge and discharge your phone everyday between 100 and 0%, without any battery damage.
Other thing is Android power management, every time you wipe battery stats or restore backup, or you spend some time in recovery, Android doesn't know, how much capacity is remaining and you need to make more charging cycles, to teach it again and get full capacity from battery. I still don't understand this kind of management in Android.
I've tried all the battery stuff. No dice still discharging fairly quick. In the Battery Usage section It still showing Android OS using around 39 to 40% usage all the time. I have done a full factory reset on the phone 2 days ago and still same.
I noticed, you are using the task killer, stop using it, you have probably loop of killing and starting of some services. Task killer kills, android starts, again and again...
I have uninstalled task killer restarted the phone and still got the high Android OS usage showing.
You won't notice any difference immediately, make one discharge, charge and discharge cycle and you'll see.
Do NOT discharge the battery completely. Over discharging Lithium ion batteries can be harmful to them. Here's a great article going into probably a little too much detail but it gets the point across: http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
As far as your problem goes it may be an issue with the phone itself I've seen a couple photons that needed to be exchanged due to issues that sound similar to yours. If it's doing the same thing on a different battery I'd take your phone into a sprint repair center, you could also try a factory reset if you have not already done so. If your only seeing this behavior with your current battery then I would return it or request a warranty replacement.
I have a extended battery. I usually get 2 days use on a charge. about a week ago I cannot make it thru a day. The battery is only about 6 weeks old. I tried another battery and same thing. I use task killer and app cleaner and have restarted several times. When I look in battery usage is shows the Android OS using 24% Display 26% and phone idle 24%. I did update all my app and this seemed to help just a little. Anyone have any suggestions before I return my extended battery or do a factory reset. tks in advance.
Click to expand...
Click to collapse
root your photon (if not already rooted) and download battery calibration from market, also after rooting go to android development and download th3bill's extended battery mod
schale01 said:
Do NOT discharge the battery completely. Over discharging Lithium ion batteries can be harmful to them. Here's a great article going into probably a little too much detail but it gets the point across: http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
Click to expand...
Click to collapse
Omg... Read that article again, and check, how much voltage is in the phone battery, when it reaches 0% ;-)
peetr_ said:
Omg... Read that article again, and check, how much voltage is in the phone battery, when it reaches 0% ;-)
Click to expand...
Click to collapse
Yes, there is an additional reserve that the Smart chip will protect by turning off the battery once it reaches the "0% mark". The Smart chip will also continue to drain the battery further past the 0% mark eating into this battery reserve. Now one full discharge like this probably would not hurt the battery as long as the battery is recharge within a reasonable amount of time. However it certainly does nothing to benefit the battery health whatsoever and it is never recommended to let a battery fully discharge. There are some practices of only charging the battery to 75%-80% that can improve battery life, but individual run time will be sacrificed. My recommendation is if the battery is under 65% than to charge the battery if it is possible to do so.
After doing a factory reset the same problem remained. Sprint exchanged the phone for a new photon. Put my extended battery back in and so far no problems at all with the exception of not being able to join my contacts with my FB contacts.
I have been discharging my Photon and previous phones to 0-5% at least 3 times for a week and did not find any difference in capacity, compared with the new battery. Lasts from the morning to the evening. If I should charge it on 65%, then the phone would be unusable for me.
Like Schale said it could be an actual phone issue, but i highly doubt it. I would try some things before assuming its a problem with your phone. Do this... Also this assumes you are unlocked or at least rooted.
1: Factory reset so to start fresh with no crap applications (task killer apps do more harm than good, as do most battery saver apps)
2: Drain battery till the phone shuts itself off (Dude what right about it reserving a certain amount of juice to not cause damage)
3: Charge to 100% (Dont use the phone during this time.)
4: Use a battery calibrator app (rooted) or recovery (unlocked) to wipe the battery stats.
5: Drain power as fast as possible till phone shuts off
6: Charge to 100% (Again, dont use the phone during this time.)
You can now use the phone how you normally would. If you don't notice a drastic increase in battery after discharging and recharging three or four times over the next few days, I would be comfortable in assuming it's a phone problem. Good luck!

battery drain - found a way to fix it...

I accidentally found a way to over come the unsual battery drain. This method may not work out with completely worn out - old batteries. A month after I bought my s3, my battery started to drain excessively. I had installed no new apps..
Phone Usage was almost the same. Before the battery drain I got almost 26~30 hours of battery at normal use... after the battery drain I got less than 12 hours for the same usage.
So here is the method.
Put the phone on charge. After puttting it on charge, switch off the phone... u can restart it after twenty seconds... ideally wait till the phone cools down, if it feels hot... don't use the phone till it reaches 100% charge. This method works for any initial charge. I.e. it works when the battery is at 98% or at 1%. But if u try this method when u have 1% and u keep using the phone while charging, this method may not work... so ideally don't use the phone while charging.
So now I do this everyday and my phone lasts for 26~30 hours on normal use.
I used gsam battery monitor pro to monitor my phone's temperature and battery usage.
It also gives the average number of hours the battery will last.
For those who dont know : Ideally charge the battery when it is leas than 10%. This will increase the overall battery life.
P.s. it works for me. Don't complain if it doesn't work for u!!
Cheers,
Kraadhagaa aka sivakannan
http://batteryuniversity.com/learn/article/battery_calibration
You basically calibrated your battery. Typically only needs done about once a month at most to keep your battery gauge accurate. Any more than that hurts your battery.
t1n0m3n said:
You basically calibrated your battery. Typically only needs done about once a month at most to keep your battery gauge accurate. Any more than that hurts your battery.
Click to expand...
Click to collapse
Calibration is draining the battery till 0%, phone switches off and charging it till 100% when the phone is switched off.
This did not do the job. Battery drain was still bad.
After trying out my method, i charged the phone for two or three cycles without this method. Then the battery drain got horrible till the method was repeated.
I have been testing this method for a month. It hasn't caused Any harm. My battery life is good.
Its in effect the well posted bump charge method .
jje
stop playing games!! :silly:
sivajikannan said:
Calibration is draining the battery till 0%,
No its not calibration is using the phone .
Basically many just talk a load on nonsense when it comes to battery's .
jje
Click to expand...
Click to collapse
I don't know a lot about batteries so I don't know how much of this is true.
I read that the phones chip, if it regularly see's the phone's battery going no lower than say, 15% over time (i.e, user always charges it once it hits 15%) that it will start to use this 15% mark as the "empty" level and that the best thing to do is to "remind it" every now and again, that there are battery levels below this 15% by letting it drain to 0%
Anyone got any comments on that?
Dianne Hackborn13 Jan 2012+
1
2
1
Once you get above 90%, I would stop worrying about it. I think most if not all devices need to go through charge/discharge cycles while fully charged to keep the battery life good, so when it is "charged" it will actually be ramping up and down to do that. How this is shown to the user varies across manufacturers, and there is really no clearly right solution -- if you show them the actual changes in level they start complaining and getting concerned about their battery not being at 100%, so it is good to just show it at 100% at this point but then you are giving a little white lie about the actual level.
NOTE last line 100% is not really true .
As to the 15% all i read is that continual dropping below 15% / 10% is bad for the battery's overall life .
jje
JJEgan said:
As to the 15% all i read is that continual dropping below 15% / 10% is bad for the battery's overall life .
Click to expand...
Click to collapse
The other thing with Li-On batteries is that (as you say) using the last 10-15% of charge is damaging to overall battery life. If the battery reaches "True 0", it would be irreparable. That said, this last 10-15% of "Danger zone" (as I will now call it) is inhibited by an EPROM setting so a user cannot actually get below that.
Essentially, what I am saying is that the 10-15% "danger zone" is not included in the 0-100% that we perceive to be the "battery life" as the user.
So in the 1st attached image, the Red area represents the "danger Zone" or EEPROM protected charge. The Green area represents the 0-100% that we use as a user.
But in this case, I am asking if the EPROM sees the 15% remaining charge of the green area (forgetting the danger zone exists), if regularly not dropping below that, it becomes the new 0%, losing the last 15% of the green area as per the second image?
The phone only sees a reported voltage value, which it compares to a table giving an approximate % remaining - based on a fixed battery capacity.
The 15% danger/red zone you refer to is below the minimum voltage the phone will allow the battery to ever reach, as below this value the battery itself will act to disconnect - giving unexpected shut down and data loss/partition corruption. You would also be unable to recover a battery in this condition with a normal charger.
Best advise is still to recharge before the battery reaches 10 to 15% of the phone's indicated remaining value - you can safely go down to 0% indicated but will lose a little battery capacity each time you do this, as the electrodes inside the cell are being worn away. It's no big deal, hence why the phone permits it to happen, you'll just need to replace the battery earlier.
Similarly charging to 100% and holding the cell there is just as bad, remove from the charger and start using it right away.
boomboomer said:
The phone only sees a reported voltage value, which it compares to a table giving an approximate % remaining - based on a fixed battery capacity.
The 15% danger/red zone you refer to is below the minimum voltage the phone will allow the battery to ever reach, as below this value the battery itself will act to disconnect - giving unexpected shut down and data loss/partition corruption. You would also be unable to recover a battery in this condition with a normal charger
Click to expand...
Click to collapse
This I know but it's not related to my question.
boomboomer said:
Best advise is still to recharge before the battery reaches 10 to 15% of the phone's indicated remaining value - you can safely go down to 0% indicated but will lose a little battery capacity each time you do this, as the electrodes inside the cell are being worn away. It's no big deal, hence why the phone permits it to happen, you'll just need to replace the battery earlier.
Click to expand...
Click to collapse
I'm not sure I agree with this but again, it's not related to my question.
*shrug* Sorry, I read your post about 10 times last night and figured you were talking about calibration. I then posted accordingly. Tonight, after I read your reply, I tried reading your post again a few more times. Finally, I came to the conclusion that your post makes no sense, so I give up trying to decipher what your post was trying to say. I surrender.
The best answer to the battery drain issue is a application called "GREENIFY". It closes all the background applications.. Try it n thank me if u feel it worked.. It increased my battery life more than twice..
Sent from my GT-I9300 using Xparent Cyan Tapatalk 2
Lol... e=mc^2 doesn't make sense to a lot of people either
t1n0m3n said:
*shrug* Sorry, I read your post about 10 times last night and figured you were talking about calibration. I then posted accordingly. Tonight, after I read your reply, I tried reading your post again a few more times. Finally, I came to the conclusion that your post makes no sense, so I give up trying to decipher what your post was trying to say. I surrender.
Click to expand...
Click to collapse

Categories

Resources