(Request)Sedio extended battery read issues, dev help? - Android Software Development

Many people have gone to sedio for more battery life out of the power sucking android phones to attempt to get the most that they can out of their phones, including myself.
Unfortunately, as seen in this thread: droidforums.net/forum/droid-accessories/9569-seidio-2600mah-extended-battery-77.html
extensive research has been put into the issues that the droid(and im assuming other devices)'s firmware was built to estimate battery for the original battery pack, and can not adjust when a larger pack from sedio(ranging between 1700 mah and 2800 mah) is put in.
There are also no apps to correctly read the batteries, with the closest thing to an accurate battery read is battery left which calibrates itself based off of mv and battery life, which is mediocre at best.
I know there are lots of dev's over here that are significantly smarter and better at modifying the system than most over there, and since alldroid is permanently gone as of now, I figured this would be the best resource for help.
Any dev willing to take on the project, there are many people in the listed thread with research in the project, but not the knowledge to fix the firmware, that im sure would not mind paying for an accurate read app.

I know this is an old topic, but there really hasn't been any advances on this and I am getting annoyed by my incorrect battery readings. Battery left does an OK job, but it still goes down to 1% way before it should, even though I have calibrated it over and over again.
What we need is a simple battery app that will let you define at what voltage your battery is at 100%, 90% etc.

Related

The REAL low-down on "bat stats" and battery calibration

Apologies first -- I don't have the answer to the title of the thread. Rather, I'm posting this thread to (hopefully) get to the bottom of this whole matter, because there is just way, way too much floating around about this in way too many threads.
So, this is a request to the smarties out there, devs, engineers, et. al., to explain the precise, actual meaning and mechanism of "bat stats" on the Epic (and perhaps Android in general?).
So please, if you don't know with certainty about something related to this, don't post what you've heard, speculate, (informed) guess, etc. Let's keep this discussion to unquestionably known facts.
Here's what I do know as fact: Wiping Bat Stats in CWM does nothing more than delete a file in the /system filesystem (I don't remember the file atm, but someone else will surely speak up and fill in that detail). That's it. Nothing more.
This file is recreated and data written to it on subsequent boot.
That's all I know.
What I'd like to know, to complete the picture, is what is in this file, what this data means, how it's used by the device in managing the battery. If anyone knows the specific, actual specs and mechanism/algorithm for this, please explain.
After that, we can figure out, once and for all, what "calibrating" the battery means, and how best to do it. Further, it may be then as simple as keeping a copy of one's batstat file on their SD card, and simply putting it back after any reflash, obviating the need to go through some painful "calibration" procedure.
http://en.wikipedia.org/wiki/Lithium_ion_battery
There's no reason to "calibrate" a lithium battery. End of story.
mrzood said:
http://en.wikipedia.org/wiki/Lithium_ion_battery
Click to expand...
Click to collapse
And that was helpful, and relevant, how?
This thread is not about LiION battery technology; it's about the Bat Stats functionality of the Epic 4G, the technical details of it, and how it applies to battery "calibration".
The underlying battery technology could be NiMH, and the questions would be the same.
What he linked is correct. You asked about battery stats and calibration. There is no need to, " Calibrate" a LION. However, I am interested in the battery stats. I use three different batteries with my phone and get different usages with each.
dwallersv said:
And that was helpful, and relevant, how?
This thread is not about LiION battery technology; it's about the Bat Stats functionality of the Epic 4G, the technical details of it, and how it applies to battery "calibration".
The underlying battery technology could be NiMH, and the questions would be the same.
Click to expand...
Click to collapse
So calibration is a placebo? Apple suggests it just to appease the idiots?
mrzood said:
http://en.wikipedia.org/wiki/Lithium_ion_battery
There's no reason to "calibrate" a lithium battery. End of story.
Click to expand...
Click to collapse
What this article mentions in one place is about "conditioning" the battery which is different. LiOn batteries should fully discharge and recharge with no "memory effect". In other words, you can run them half way down and recharge, or 99% of the way down and recharge and the battery should charge to the same total power.
However, what the original poster is talking about is the phone's battery "stats" - how it reads the battery to determine how much charge is left and reports "25% remaining" or whatever. That can absolutely be changed, because I have seen it get screwed up. For example, I flashed a ROM this fall (don't remember which at this point, and it probably does not matter) and I seemed to be getting amazing battery life. In the first 6 hours of having the phone on, it dropped only 25%, which was great for me. However, I went into a movie and when I came out about 2 hours later the phone was dead. The first 25% took 6 hours and the last 75% took approx 2 hours. THAT was a problem with the battery stats being screwed up.
However, exactly how that is determined is something I do not understand either...
You're actually calibrating the rom's battery stats and to the people splitting hairs about the term "calibrating battery" get over yourselves.
What I understand about this is you have a variable amount of amperage this is one value at full and another at empty (or as empty as android gets). It tracks this against runtine and I think a couple of other variables to determine overall capacity. Each Phone and battery are slightly different. So it is a file that tracks this and is used to determine % or capacity. The recalibration is usually done best by getting a full charge and wipeing battery stats then running it dead to set your full and empty points.
Not super technical but a decent quick answer I hope.
Sent from my DROIDX using XDA App

[Q] Is there a way to override the battery capacity ?

I've recently tried a cheap high capacity battery, over twice the capacity of the original one (but, of course, twice as fat and heavy). While the battery charges to it's 4.2V and discharges down to about 3.5V properly (tested manually, with the multimeter), the phone keeps reporting the battery as 1230mAh, tracking it accordingly. This causes the phone to go from 100% down to 15% at about the speed it would with the original battery and then remain at 15% for a full day. Similarly, charging the battery makes it go to 100% twice as fast as it should, yet the battery keeps charging after it reaches those virtual 100%, up to the proper 4.2V, with the proper current (NOT trickle charging).
I've already tried the obvious (fully charge, delete the stats file, fully use the charge, then full recharge again), it didn't really help, it only distributed the estimation a tiny little bit.
Any solutions ? Is there a proper way to manually override the battery capacity either with or without recalibration ?
27 views and not a single freaking answer ? How familiar
bump.
InfX said:
27 views and not a single freaking answer ? How familiar
bump.
Click to expand...
Click to collapse
Maybee battery curent widget... inside you have settings/monitoring/battery capacity...
But with that attitude I'm almoust sorry to help you
I am familiar with that widget, overriding the capacity setting there only changes the displayed capacity in the app, it doesn't affect the estimations at all. Sorry, i should have mentioned trying this.
PS: What attitude ? Bumping a thread that got buried on a third page after just 2 days, without a single answer, while most other threads that bury it could be answered using a search button ?! I can assure you, i may do it once again after a week+ or something and then i'll just forget about it, you can check my others threads And yea, they usually remain either unanswered, or self-answered after all (rare, but if it happens, i post my findings in the thread)
PPS: If you consider it such a "bad attitude" just don't bother helping. Thanks.
Battery reading is indeed not 100% perfect. But what ever change we would make. It is not gonna give you extra battery life. Until some one fix it there is no way to read it 100% correct. So that is the whole story.
jan-willem3 said:
Battery reading is indeed not 100% perfect. But what ever change we would make. It is not gonna give you extra battery life. Until some one fix it there is no way to read it 100% correct. So that is the whole story.
Click to expand...
Click to collapse
Well, i don't bet on it to be 100% correct, but it should be something relatively close to the reality, while in case of this particular battery it's nowhere near that.
It assumes 1230mAh, calibrated or not, and i am 100% sure it takes this value from somewhere. In any case, it should be possible to patch, the question is where/how. Since i am not exactly an Android/Linux guru, the only things i did to find it out are searching this forum and doing simple google searches, finding nothing beyond the usual calibration thing. I though maybe someone may know something, that's why i posted the thread. I guess i was wrong about it.
PS: I guess i'll either abandon this, or start my own research, beginning at the source code of the ROM/kernel i use
InfX said:
I've recently tried a cheap high capacity battery, over twice the capacity of the original one (but, of course, twice as fat and heavy). While the battery charges to it's 4.2V and discharges down to about 3.5V properly (tested manually, with the multimeter), the phone keeps reporting the battery as 1230mAh, tracking it accordingly. This causes the phone to go from 100% down to 15% at about the speed it would with the original battery and then remain at 15% for a full day. Similarly, charging the battery makes it go to 100% twice as fast as it should, yet the battery keeps charging after it reaches those virtual 100%, up to the proper 4.2V, with the proper current (NOT trickle charging).
I've already tried the obvious (fully charge, delete the stats file, fully use the charge, then full recharge again), it didn't really help, it only distributed the estimation a tiny little bit.
Any solutions ? Is there a proper way to manually override the battery capacity either with or without recalibration ?
Click to expand...
Click to collapse
i think you just need a rom/kernel that support extended batteries.
Sent from my HTC HD2 using XDA Premium App
j4n87 said:
i think you just need a rom/kernel that support extended batteries.
Sent from my HTC HD2 using XDA Premium App
Click to expand...
Click to collapse
Tytung R10 does. All those kernels only support "official HTC extended battery" though, and i have yet to find out what does it really mean (read - what's the technical difference between the official and unofficial one). Note that the battery is charged/discharged properly, its just the stats/percentage remaining that go haywire.
mhh, just made some researches...
Stumbled over these threads:
Crazy, that there is a different behaviour if you have an orig. HTC or not...
http://forum.xda-developers.com/showthread.php?t=756513
http://forum.xda-developers.com/showthread.php?t=948181
Also read somewhere, that you really need to charge your phone to fully 100%, so that current widget shows 0ma...and then let the phone a few more hours at the charger, (DONT remove your charger) then manually delete the batterstats file in /data/system, turn off the device, REMOVE the charger, then boot the device.
Good luck
For those really interested to know what the technical difference between those bats... its the thermistor values range. Thats it.
The different batteries are identified by that thermistor value, all the batteries parameters are in the "ds2746_param_config.h", the table i am interested in modifying is the FL_25, one that defines the full battery capacity.
Sadly, this, most probably, requires a kernel recompilation, something i can't do, not without setting up all the required environment first Or, maybe it's possible to just patch the kernel image with hexeditor, i'll probably take a look.
PS: Thanks for everyone for trying to help.
EDIT: patching zImage would be harder than just recompiling it
not saying this is the right answer or that you haven't already tried but it didn't half help me out as i was only getting 8 hours before i used it, and i only got around 15 hours when i used to use wm, also left a print screen of what i get after i use the features in THIS page...
Sent from my HTC HD2 using XDA Premium App

consistently mediocre battery life even after calibration and undervolt

I just can't seem to crack the battery life conondrum. I've calibrated (charge to 100%, wipe stats, then full cycle).
If I'm listening to music its consistently I'm sucking ~10% an hour, if idling ~4-5%. Which means I'm getting around same battery life as my old nexus one – mediocre, I end a working day with around 30-40%. If I want to go out after work i have to remind myself to charge during the day...
Right now I'm even running a mild setcpu undervolt (with faux123 kernel) and profile (screenoff max cpu 600mhz) but seeing not much improvement if any.
I am on gingerbread AT&T radio so thats not it either... any tips aside from 'use juice defender' (which I don't want to do as I want always on data instant push etc., I know juice defender basically shuts your data radio off)?
Note this is the same with stock gingerbread as well as the ROM and kernel I'm currently on (redpill, faux123 kernel)
I've done everything you have and i'm on a Bell Atrix....i have been looking into this for about a week or more and i just can't crack it either!!! it's driving me nuts and i have spent sooo many hours googling, searching xda and other sites and have tested MANY different methods and still can't seem to figure it out. For me i know its the phone idle...but what it is i can't tell, i have SystemPanel monitoring as as well as watchdog which i alternate with. Flashed the battery calibration fix and calibrated the meter blah blah blah....driving me nuts and i know its not a faulty battery because before i unlocked and flashed 2.3.4 i could get about 30 hours with heavy to moderate use!!!
For the love of god i wish a team of dev's would look into this!!!!!!!!
Honestly none of the faux kernels worked for me... Try gobstopper, stock kernel with watchdog was the only combo to give me good battery life. Not to mention lock sounds works properly, and its fast. All bell users should use it. Seriously... 19+ hours worth moderate usage.
phone idle is still high but it seems to be a slow drain.
Sent from my MB860 using XDA App
a.) not an option for me, AT&T phone
b.) I'm not seeing faux's kernel do any worse than stock kernel, I don't think its the kernel?
c.) yeah I tried system monitor as well, the highest process was opera at 3%.... 3 lousy percent lol
1. Calibrate your battery again (I have posted a guide in the General section)
2. Flash a kernel which allows overclocking, install SetCpu, add battery saving profiles (downclock to 500mhz on screen off, downclock to 800 mhz when battery less than 30%, downclock to 800mhz if temperature higher than 50C)
3. Freeze all MotoBlur bloatware (there's a guide in the general section)
4. Disable data and wifi unless you need it
5. Install Watchdog and set it up according to instructions I provided in my calibration thread.
xploited said:
1. Calibrate your battery again (I have posted a guide in the General section)
2. Flash a kernel which allows overclocking, install SetCpu, add battery saving profiles (downclock to 500mhz on screen off, downclock to 800 mhz when battery less than 30%, downclock to 800mhz if temperature higher than 50C)
3. Freeze all MotoBlur bloatware (there's a guide in the general section)
4. Disable data and wifi unless you need it
5. Install Watchdog and set it up according to instructions I provided in my calibration thread.
Click to expand...
Click to collapse
all your solutions he basically either already did (1 and 2), or stated he does not want to (#4) =P
dLo GSR said:
all your solutions he basically either already did (1 and 2), or stated he does not want to (#4) =P
Click to expand...
Click to collapse
Well, if you keep data or wifi turned on at all times, then there's no way you can have something more than mediocre battery life, sorry.
It's not the Atrix'es fault, its the brutal truth with all modern smartphones.
1 personally run ninja speed freak, i get amazing battery life. simply amazing, days on worth of battery!
it is not a kernel issue, i simply dont know exactcly what hack in particular gives ninja the amazing battery life. but im working hard to determing this so i can share it.
samcripp said:
1 personally run ninja speed freak, i get amazing battery life. simply amazing, days on worth of battery!
it is not a kernel issue, i simply dont know exactcly what hack in particular gives ninja the amazing battery life. but im working hard to determing this so i can share it.
Click to expand...
Click to collapse
Perhaps, bypassing MotoBlur sign in
I'm not signed into motorblur either.
I do turn off wifi when out, but bluetooth is normally on.
Sent from my MB860 using Tapatalk
wintermute000 said:
I'm not signed into motorblur either.
I do turn off wifi when out, but bluetooth is normally on.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
The people in this thread have listed all known steps to improving battery life.
If you really follow all of these guidelines and have bad battery life, you might want to try a battery replacement.
If you are sure your battery is not the problem, you might also want to try a couple of custom roms. Who knows maybe you will get lucky with one of them.
xploited said:
Perhaps, bypassing MotoBlur sign in
Click to expand...
Click to collapse
Is there any way to log off from motoblur once you are in so you can stay offline? Of course any connection that gets cut will increase battery life.
I don't understand all these battery life problems. Its got to be an app you are installing or your battery is buggered!
Admittedly when I first installed 2.3.4 OTA, battery life dropped like a stone, but I drained it flat, and then charged it up again and its been fine ever since.
I'm running on stock 2.3.4 without root, and I have quite a lot going on (IM's/Facebook/Twitter) and I can last well over a day and a half with moderate use, this includes sms and calls.
tehrules said:
I don't understand all these battery life problems. Its got to be an app you are installing or your battery is buggered!
Admittedly when I first installed 2.3.4 OTA, battery life dropped like a stone, but I drained it flat, and then charged it up again and its been fine ever since.
I'm running on stock 2.3.4 without root, and I have quite a lot going on (IM's/Facebook/Twitter) and I can last well over a day and a half with moderate use, this includes sms and calls.
Click to expand...
Click to collapse
Battery life is a very subjective issue. One person might be fine with the phone, while the other person will say battery life is terrible with the very same phone.
Besides the obvious drainage problems, it all depends on how you use the phone.
Honestly the best thing that worked for me was turning off "Syncing".
I currently have 3G on, BT on, ETC...
Syncing in the background killed my battery life. Now I usually make it through the day without the need for a top-off...
Sent from my MB860 using XDA Premium App
Im in stock gingerbread and battery life is definitely worse than on stock 2.2.2 and and im basically running the same Apps. I am a heavy user and I used to drop 10% per hour. Switch on at 7am and by 5pm I was changing battery. Now I am switching around 3pm.
That's why I have 3 batteries!
I still think its better than nearly every other device I have owned but that nay be because battery is larger. I dont know why they don't design to put in 2400 mah batteries (my treo 650 had one!).
Sent from my MB860 using XDA App
ekerbuddyeker said:
Im in stock gingerbread and battery life is definitely worse than on stock 2.2.2 and and im basically running the same Apps. I am a heavy user and I used to drop 10% per hour. Switch on at 7am and by 5pm I was changing battery. Now I am switching around 3pm.
That's why I have 3 batteries!
I still think its better than nearly every other device I have owned but that nay be because battery is larger. I dont know why they don't design to put in 2400 mah batteries (my treo 650 had one!).
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
The treo 650 also had a thickness double that of the Atrix .
The batteries in your phone are high-capacity lithium-ion batteries. This kind of battery technology cannot be simply reset and “re-calibrated.” When you follow the steps to recalibrate your battery and delete the batterystats.bin file from your phone, you are getting rid of more than what you think… Stored inside that batterystats.bin file, your phone keeps detailed logs of the capacity of your battery and uses it on how it can be utilized more efficiently. By deleting this file, it basically wipes the phone’s memory on what the battery can really do. This actually does damage to your battery by using up valuable charging cycles, all while giving a fraction of battery life and performance.
Now, you might be saying uh-oh, I’ve already re-calibrated my battery! What do I do?!
Well here’s your answer. Use your phone like normal. Yes, your battery and phone wont perform as good as it can for a while, but after a few days, you will notice that it starts doing better and better. Give it time, its trying to rebuild all those logs that you just deleted.
edgeicator said:
The batteries in your phone are high-capacity lithium-ion batteries. This kind of battery technology cannot be simply reset and “re-calibrated.” When you follow the steps to recalibrate your battery and delete the batterystats.bin file from your phone, you are getting rid of more than what you think… Stored inside that batterystats.bin file, your phone keeps detailed logs of the capacity of your battery and uses it on how it can be utilized more efficiently. By deleting this file, it basically wipes the phone’s memory on what the battery can really do. This actually does damage to your battery by using up valuable charging cycles, all while giving a fraction of battery life and performance.
Now, you might be saying uh-oh, I’ve already re-calibrated my battery! What do I do?!
Well here’s your answer. Use your phone like normal. Yes, your battery and phone wont perform as good as it can for a while, but after a few days, you will notice that it starts doing better and better. Give it time, its trying to rebuild all those logs that you just deleted.
Click to expand...
Click to collapse
This is the first time I am reading this sort of opinion, though I have read countless info on the subject.
If you want to make such a strong point, you better have source to back up your opinion (article, studies, other source of proof, etc).
These threads are all USELESS without NUMBERS.
Like another person with common sense already stated in this thread, you need to provide numbers.
GB has this improved tool (over 2.2) where you can see how your battery is wasting its juice. Watch those numbers for a few charges and then POST THEM TO COMPARE.
Saying your battery sucks without giving any numbers is like calling a color ugly.
(just in case someone misses the points, without numbers it's hard to compare, since it mainly becomes an opinion at that point)
P.S.- Please don't post "My battery lasts for over 9000 hours." and think that's enough info. Use your head.

Android battery charging myths and the real truth.

After many different methods,hundreds of post by others. No method of full charge works for everyone. Well I decided to find out from the source, I contacted HTC,Google,Qualicom and Samsung. So first off there,s alot of misinformation about the battery stats bin. What really happens when you wipe battery stats??? NOTHING!!! That's right absolutely nothing. As quoted by all companies I,ve contacted heres the real deal.(batterystats.bin) is used to maintain, across reboot,low level data about your device and operations of apps during charging. Its only used to record things like this app held a wake time of ? Or your screen was using 40% recources for x amount of time. The stats bin actually has nothing at all to do with current or maximum level of charge allowable. So if you do wipe the battery stats bin what happens? The reporting that occurs in the stats bin might be allowed to report faster due to being cleaned. So then how do I get a full charge. Well sorry to say the's no real good way short of constant monitoring of your charge. lets look at what a L'ion battery really does. A lion battery is basically the same as nicad or lead acid.the difference is the amount of charge per cell. Most L'ion battery hold a Max charge of 4.2v +/- 50mV a cell. That being said leaving your battery charging over night not only wastes power but actually oxidizes the cells causing the battery to not fully charge. Our batteries will charge more effectively by not full charging to 100% every time. Getting a good battery monitor widget like the one by 3c is your best friend, when your at 0ma your pretty much done.. So to wrap this up and still give you proper info here we go!!! Screen time out and LCD density drain most of your battery. Using task managers to kill apps actually uses more battery because Android will re open apps as it chooses, there's no need to kill an app unless you know why your doing it android does a great job of resource management. Also remember any mods or tweaks you use might add extra strain on your battery. Multiple launchers,live wallpapers,not backing out of apps properly especially games. The main things to consider when your battery loses charge fast is, does my rom use more resources than stock, do I have to many active apps, do I not know how to properly exit applications. ALL THIS INFO IS FACT AND CAN BE VERIFIED BY A LITTLE RESEARCH ON YOUR PART!
Sent from my A500 using xda premium
Same thing HTC told me.
Sent from my A500 using xda premium
Yes, the wiping battery stats in recovery does NOTHING. Glad to see this reported. I've read much about this on Google+, with actual Google engineers and employees and developers debunking this. It only deletes your phones record of battery use (essentially), i.e. has absolutely zero effect on battery use, only record/reporting.
Sent from my PC36100 using xda premium
While this is correct an SBC kernel will allow your phone to get a higher charge and hold it there while undervolting will lessen the amount of power used therefore giving u better battery life.
While fully charging a battery will potentially lessen the life of a battery, it could take years for a noticeable effect... And in reality, how many people will continue having the evo once their contract is up, and the recent/upcoming lte releases become free with upgrade down the road...
Not to mention letting the phone discharge too low is not great for a battery either...
I concur on battery stats not needing to be wiped...
Nice post overall, and some really good information presented, thank you for sharing.
ca1ne said:
While fully charging a battery will potentially lessen the life of a battery, it could take years for a noticeable effect... And in reality, how many people will continue having the evo once their contract is up, and the recent/upcoming lte releases become free with upgrade down the road...
Not to mention letting the phone discharge too low is not great for a battery either...
I concur on battery stats not needing to be wiped...
Nice post overall, and some really good information presented, thank you for sharing.
Click to expand...
Click to collapse
Yeah I def wanna throw some props your way on the SBC kernels. Thanks a lot,it's been working great so far.
Sent from my A500 using xda premium
PyreKing said:
After many different methods,hundreds of post by others. No method of full charge works for everyone. Well I decided to find out from the source, I contacted HTC,Google,Qualicom and Samsung. So first off there,s alot of misinformation about the battery stats bin. What really happens when you wipe battery stats??? NOTHING!!! That's right absolutely nothing. As quoted by all companies I,ve contacted heres the real deal.(batterystats.bin) is used to maintain, across reboot,low level data about your device and operations of apps during charging. Its only used to record things like this app held a wake time of ? Or your screen was using 40% recources for x amount of time. The stats bin actually has nothing at all to do with current or maximum level of charge allowable. So if you do wipe the battery stats bin what happens? The reporting that occurs in the stats bin might be allowed to report faster due to being cleaned. So then how do I get a full charge. Well sorry to say the's no real good way short of constant monitoring of your charge. lets look at what a L'ion battery really does. A lion battery is basically the same as nicad or lead acid.the difference is the amount of charge per cell. Most L'ion battery hold a Max charge of 4.2v +/- 50mV a cell. That being said leaving your battery charging over night not only wastes power but actually oxidizes the cells causing the battery to not fully charge. Our batteries will charge more effectively by not full charging to 100% every time. Getting a good battery monitor widget like the one by 3c is your best friend, when your at 0ma your pretty much done.. So to wrap this up and still give you proper info here we go!!! Screen time out and LCD density drain most of your battery. Using task managers to kill apps actually uses more battery because Android will re open apps as it chooses, there's no need to kill an app unless you know why your doing it android does a great job of resource management. Also remember any mods or tweaks you use might add extra strain on your battery. Multiple launchers,live wallpapers,not backing out of apps properly especially games. The main things to consider when your battery loses charge fast is, does my rom use more resources than stock, do I have to many active apps, do I not know how to properly exit applications. ALL THIS INFO IS FACT AND CAN BE VERIFIED BY A LITTLE RESEARCH ON YOUR PART!
Sent from my A500 using xda premium
Click to expand...
Click to collapse
Thanks for the information! I wonder how this will be received by those who've been doing this battery stats wiping religiously when flashing ROMs. Interesting to get some information from the SOURCE!
Also, I've always used the sbc kernels, and have had no battery issues (and I let the phone charge all night, every night). I'm sure it'll mess up my battery eventually, but I got my current one free anyway from Sprint (extended one), so oh well. No loss!
PyreKing said:
After many different methods,hundreds of post by others. No method of full charge works for everyone. Well I decided to find out from the source, I contacted HTC,Google,Qualicom and Samsung. So first off there,s alot of misinformation about the battery stats bin. What really happens when you wipe battery stats??? NOTHING!!! That's right absolutely nothing. As quoted by all companies I,ve contacted heres the real deal.(batterystats.bin) is used to maintain, across reboot,low level data about your device and operations of apps during charging. Its only used to record things like this app held a wake time of ? Or your screen was using 40% recources for x amount of time. The stats bin actually has nothing at all to do with current or maximum level of charge allowable. So if you do wipe the battery stats bin what happens? The reporting that occurs in the stats bin might be allowed to report faster due to being cleaned. So then how do I get a full charge. Well sorry to say the's no real good way short of constant monitoring of your charge. lets look at what a L'ion battery really does. A lion battery is basically the same as nicad or lead acid.the difference is the amount of charge per cell. Most L'ion battery hold a Max charge of 4.2v +/- 50mV a cell. That being said leaving your battery charging over night not only wastes power but actually oxidizes the cells causing the battery to not fully charge. Our batteries will charge more effectively by not full charging to 100% every time. Getting a good battery monitor widget like the one by 3c is your best friend, when your at 0ma your pretty much done.. So to wrap this up and still give you proper info here we go!!! Screen time out and LCD density drain most of your battery. Using task managers to kill apps actually uses more battery because Android will re open apps as it chooses, there's no need to kill an app unless you know why your doing it android does a great job of resource management. Also remember any mods or tweaks you use might add extra strain on your battery. Multiple launchers,live wallpapers,not backing out of apps properly especially games. The main things to consider when your battery loses charge fast is, does my rom use more resources than stock, do I have to many active apps, do I not know how to properly exit applications. ALL THIS INFO IS FACT AND CAN BE VERIFIED BY A LITTLE RESEARCH ON YOUR PART!
Sent from my A500 using xda premium
Click to expand...
Click to collapse
This is good info - I can confirm that. Sometimes we advise our customers to wipe out the stats, because this differs from phone to phone. Dell Streak 5 for example, has the .bin file hardcoded somehow to the OEM battery capacity, so the charge indication is not shown properly if the battery is bigger than the OEM (if I'm not mistake). But in general, yes, wiping the .bin file won't increase battery life.
There is a good article on this from Lifehacker on Task Killers. Google "Android Task Killers Explained: What They Do and Why You Shouldn't Use Them"
When changing roms, is it advisable to wipe the battery stats?

Wiping Battery stats and Battery Calibration Myth gets Debunked

this was posted on the XDA Portal on JANUARY 14, 2012 AT 7:38 AM BY Liwen..
and i thought i would repost it as it seems lately alot of people are being misinformed about it
Google Engineer Debunks Myth: Wiping Battery Stats Does Not Improve Battery Life...
There you have it, in the title. Google engineer Dianne Hackborn, who has previously explained Android’s hardware acceleration, took to Google+ again to clarify some myths about the Android operating system. This time, it’s a point of common advice that you’ll see in virtually every FAQ thread about custom ROMs and flashing: wiping battery stats in order to improve battery life.
The reasoning behind that piece of advice was something like this: If you, at some point, did not charge your Android device fully (for example, only to 80%), it would supposedly remember that battery level as “fully charged” – in this case, you’d only ever get to use 80% of your battery, which is of course less than optimal. So, if you wipe the battery stats, usually done in ClockWord Mod Recovery, the device would “forget” the previous level, here 80%, and instead charge to the full 100% once again, thereby re-calibrating the battery. Or, as Hackborn puts it in more technical terms:
The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory.
However, as she explains, that’s not the case. Because those battery stats, stored in the batterystats.bin file, are only used to maintain information about what is using the battery when not recharging. That is, it essentially holds the information displayed in the Settings > Battery screen. Nothing more, nothing less. Thus:
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
What’s more, you’ve probably noticed that the battery usage data is reset once you recharge your device anyway. From this you can correctly deduce that the battery stats are wiped as well – every time your device is recharged. More or less every day. If there was any effect, you would’ve noticed it without going into recovery and doing that stuff. Typical placebo, eh?
link to XDA Portal post
http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/
maybe a mod will sticky this as i think it needs to be at the top of the page so people can see it .......
Hackborn, excellent name. Sounds like my kinda girl
Edit; Found another interesting article by her about android multitasking http://android-developers.blogspot.co.uk/2010/04/multitasking-android-way.html
(With a pic)
Robbie P said:
Hackborn, excellent name. Sounds like my kinda girl
Edit; Found another interesting article by her about android multitasking http://android-developers.blogspot.co.uk/2010/04/multitasking-android-way.html
(With a pic)
Click to expand...
Click to collapse
nice find Robbie
hey im gonna pm you about a couple apps you might like
Thank you so much! Even I do not own HTC Leo: HD2 this is still important for us Galaxy Y owners , Can I put this on our Forums and linking a thread here so they know who to thank? and a credits to you also as well . Thanks button pressed.
Sean De Jesus said:
Thank you so much! Even I do not own HTC Leo: HD2 this is still important for us Galaxy Y owners , Can I put this on our Forums and linking a thread here so they know who to thank? and a credits to you also as well . Thanks button pressed.
Click to expand...
Click to collapse
your welcome
yes you can add to to your forum section
no credits to me are needed i just posted it from the xda news page
my htc hd2 wired problem .. my battery drains very fast.. . if i connect power cable after some time phone boots... some times while charging itself my phone switched off.. screen dark.. only liberates no display...
is it problem with my battery..or phone hardware issue...
me changed different rom.. and sd card. two years worked very well .. without any issues.. no Im in big trouble..with this phone
help me
The phone's supposed to turn on while charging when off in MAGLDR, that's completely normal. The high drain could be caused by any number of things and since there are various guides around as to how to reduce your battery drain I'm not going to get into it right now. The other issue you have is (I assume, the wording's a bit difficult to understand) an SOD or 'sleep of death'. Try flashing a newer ROM because afaik this issue doesn't exist on modern HD2 ROMs at all.
cool, good to know.
this is the question about li-ion battary. Smn says that better to charge from 0 to 100. and use from 100 to 0, but theoretically, this kind of battery better be used from 20 for 80 percent. So, there is a lot of things to debate.

Categories

Resources