[Q] Isn't a battery still a battery, regardless of OS? - Nook Color Q&A, Help & Troubleshooting

I was just wondering about the whole deal with wiping the battery stats. To me it seems as if the point of this is strictly to get the OS to report and understand the battery more so than anything to do with the battery itself. I mean, the OS can't actually change the physics of the battery, right?
But the OS needs to understand what a full charge is and what an empty charge is, so that it knows when to shut down and when to stop charging and all that sort of stuff.
What I'm thinking is that if you wipe the stats and it's not at 100%, it will think that the discharge from that point to an actual low level is the full breadth of charging and adjust accordingly.
Is any of this remotely accurate? Or am I just making wild assertions?

Actually...it's the software that can make or break battery life...take for example background notifications. Wifi uses battery power and if you have different programs all polling for updates at x amount of times per hour..even when asleep..it will eat up battery juice...another example is the cm bug that kept the speaker on all the time and the nook never really went to sleep...it used tremendous amount of juice for not doing anything...another example..screen brightness..does not the software control how dim or bright you want it...and say you could not adjust the settings..your right..a battery is just a battery but how the kernel, drivers and loaded programs determine how fast or slow the battery power is to be used. Clearing the stats gives more accurate measurements for the kernel and hence will power down(power saver mode ) or other items for the kernel depending on what type of governor is on the nook..software wise.

I think you misunderstood what I was saying. What I'm trying to say is that the OS can't change the physics of the battery. Drain is drain, no matter what software is running. In other words, say you have two perfectly identical systems, both running the exact same software. The battery capacity is exactly the same on both and they both have the same drain. The battery doesn't actually drain faster on one vs the other, but the OS can *think* it's draining faster. That's why we have all these battery stats and such...right? Or am I wrong?

Oh Ok...you are right in the fact that it cannot and the software..depending on what it's state(charge level) is will determine how to run..it just makes it more accurate.

Wiping the Battery Stats tells the OS to start learning what the new High and Low are.
It doesn't matter what level of charge the battery has when you do this....
- As the battery gets lower the stat keeps updating the level as the new low.
- As you charge the battery it continuously updates the stat as the new High.
Once you have taken the battery to both of these extremes then, in theory, the OS will have accurate info on your battery.
At a certain point in time the battery stats stop updating which is exactly why it is important to do this.

Related

battery metter unreliable

i have noticed that the battery metter is completely unreliable
for example it shows 28% left (btw, i installed FInixNOverBattery for percentage indication) and after a soft reset it shows 41%
or it shows 50% and after soft reset it shows 31%
in this way i can never estimate how long the battery will last
does anybody faced this issue? any solution fot it? (i also tryed to calibrate by completely drain the battery followed by complete charge withe the device turned off)
thank you in advance!
noris08,
it is completey normal to experience big jumps in % after a reboot. The battery % is just a representation of the actual voltage of the LiPoly battery, which usually recovers (rises) quite a bit when there is no load on the battery (even for a short time).
maybe what you say it is true, but i never experienced this behaviour with any of my previous phones. and i had a few, including wm for a few years
and variations of 10-15% - i find them too big
I noticed the same thing. Any explanation for this? Or it is just that FInixNOverBattery is not reliable/compatible/accurate ?
Voltage may vary/jump around due to environmental changes and power consumption or voltage sensor may be insufficiently accurate to provide reliable voltage readings for 1% steps. This is one of the reasons why many battery drivers in WM only provide remaining charge percentage in 10% steps.
In this light, voltage on its own is not a sufficient indicator of remaining charge percentage. Other parameters, such as voltage deviation and other factors, such as power consumption and temperature may need to be taken into account to obtain a more accurate evaluation.

Editing batterystats.bin

I just had an idea if it was possible to edit the batterystats.bin file. This way we do not have to calibrate whatsoever and possibly "trick" the phone to use the battery longer before shutting down.
As I understood from the forums, full charge 100% is around 4.2v and flat 0% around 3.5v. This bring us a delta of 0.7v = 100%. If we could edit and write say 3.3v at 0% then we would gain 0.2v and extend the battery life for another 20%+?
What do you think? Probably for a start, those with excellent battery life could help to post their batterystats.bin file and let the others with draining issues try out your calibration file?
Well it wont work.
First that file is basicly a logfile.
Second the sgs need that power to work right.
Third you can damage the battery if you try to lower the power to much.
So if you want better battery time you need to se what app you use and that kind of things.
You can also buy a battery so you have more power.
You can also try to change it under the day.
**DamianGTO Steam kernel. 348MB Ram. 1000HZ. ext2/jfs . js3 base**
Thanks for the reply.
Just thought that since the phone load is the same and thus power consumption rate remains, only possible issue would be the battery information to the phone is not accurate:
battery is either not yet fully charged before the phone cuts off charging and/or the battery is not yet fully depleted before the phone force shutdown thus showing the 'effect' of fast drain
coatercup said:
Thanks for the reply.
Just thought that since the phone load is the same and thus power consumption rate remains, only possible issue would be the battery information to the phone is not accurate:
battery is either not yet fully charged before the phone cuts off charging and/or the battery is not yet fully depleted before the phone force shutdown thus showing the 'effect' of fast drain
Click to expand...
Click to collapse
Well all is a calculation on the power in the battery, but the phone need to now what is the max value and the low value the battery have to make a right calculation. Thats way it often works to delete the file when you have full power.
So its very hard to use others file, it will not be how your battery is.
Maby there is some place in the system you can tweak this, but its not good for the battery to over load it or lower the power to much.
MAby you get a better battery life for some time, but the battery will get broken and bad alot faster, then you need to buy a new battery. So i dont see any gain on that..

Battery Level Issue - Fix Suggestion

I don't know if my suggestion is wrong or if I'm a total n00b or what the deal is, but what is up with the battery level issues on this phone? It goes from 100% down to 80% in like a matter of minutes even with no usage, it then drops steadily down to 50%, then it drops suddenly to 15%, then goes down to 10%, then 5%, then 1%. How can it be so hard to calculate a battery level?
Now I bet someone is going to come in here and bash my idea, and I apologise in advance if I look like a moron, but shouldn't the calculation for the battery level be something along the lines of:
((Current Voltage - Minimum Voltage) / (Maximum Voltage - Minimum Voltage)) * 100 = Current Battery Percent
If that would work (even if only a little better than the current method), can someone PLEASE write at least a widget or something that displays the actual battery level, not this inaccurate level that Samsung claims it to be, and if possible modify whatever it is that calculates it and replace it with said formula?
I tried this formula on my phone using a simple calculator (using 4.1V as my max and 3.5V as my minimum and a battery level widget to display the current voltage) and it seemed to work fine for me and it was a lot more accurate. I just wish it could be automated.
I think that's a common issue on Galaxy 3. Sometimes it's accurate, sometimes not.
I unplug it, after half an hour it's at 80%, then drops by 10% down to 50% and after that suddenly to 5%. Then I turn it off and on again and it returns to 50% or 60%.
But as I said, sometimes it's accurate, but I don't know what causes it.
I've tried some battery widgets, but they all display the same information.
That was a common issue that happens more frequently when you flash your phone without a full charged battery, when that happens i try to wait until the batery ends and wait 2 o 3 hours and charge the phone while its off until it shows full charge
Racoen said:
I think that's a common issue on Galaxy 3. Sometimes it's accurate, sometimes not.
I unplug it, after half an hour it's at 80%, then drops by 10% down to 50% and after that suddenly to 5%. Then I turn it off and on again and it returns to 50% or 60%.
But as I said, sometimes it's accurate, but I don't know what causes it.
I've tried some battery widgets, but they all display the same information.
Click to expand...
Click to collapse
Yes, its the same with my G3.. But it always was like that, with eclair and now with froyo.
These are the files that regulate it (its in c, but you my be able to understand some parts of it without it).
They didnt calculate it like that, but used an if..else if ...else method. and with fixed values of multiples of ten (except for lower battery).
I dunno how to compile from the sources, when I do I'll change it and send it to KARMA.
Also, sometimes when its low it doesnt show it correctly. Try rebooting if you suspect that.
I've noticed that last 20-30% stays for almoust 10h, but first 80% only 1 day.
If it was only the faulty display of the percentage I normally wouldnt even care. There are many widgets that display the actual battery voltage which gives a much better indication of the actual SOC.
BUT: what really gets on my nerves is, that when the calculated battery level drops below some 10%, the G3 reduces the display brightness, doesnt let me use the camera, doesnt let me start my music app... even if the battery voltage is still at 3.7-3.8V.
The problem seems to be (correct me if i am wrong), that the G3 calculates the battery level with the minimum of the measured voltage in that discharge cycle. So if I use some app which consumes more power, or if I have many active downloads or whatever, the voltage of the battery can sag for a short time, which also causes the calculated battery level to drop. When the phone is idle again the battery voltage goes back up, but the percentage is stuck (in worst case at a very low level).
Since a reboot seems to make the phone re-evaluate the actual SOC, the question is, if there is an app (or if someone can make an app) that forces the phone to re-evaluate the SOC without rebooting (and so also reactivates camera etc.). Even better if the firmware was modified in a way, that the algorithm for determining the battery level uses a filtered value of the battery voltage so that a short term voltage sag does not affect the calculated battery level.

[Q] Battery Calibration

Hi everyone!
Wondering if there is or are anyway to calibrate Omnia battery? I think it is draining too fast, first i left my phone charging for 5hours to completely charge and just send 1 message and download Samsung App "Now" and in 1 hour since has now 92% of it. I use brightness in minimun, use Edge connection and nothing more to spend so much...in moment im using "mirolg" mi7ROM mango 8107 DFT, great by the way!
Any ideas?
Thanks!
after each ROM flash i recommand the battery dicarger tool from MS Market Place.
really it works, really! It allow the battery circuitry to calibrate to the right energy level.
After flash a ROM, I let the battery completly discharging and then I charge my device for minimum 8 hours. then on 30% battery level I repeat this process. my battery has 40 - 50% longer life with the same usage.
"Even though lithium batteries don't have the memory effect issue, they still have a phenomenon called state-of-charge (SOC) mismatch. Battery Discharger employs various hardware resources available on the phone to discharge the battery power at a faster but controlled rate. Charging the phone completely from this state would allow the microprocessors on the battery circuitry to recalibrate and start reporting accurate energy levels.
Battery Discharger is a smart app that lets you discharge the battery of your phone at various discharge rates in a controlled manner. User can configure Battery Discharger app to use one or more of the following hardware resources to achieve the optimum discharge rate"
Thanks for your suggestion, miro!
I tested the application you mention and it works really well.
First thx miro for a great rom, this tip gives me 4 Hours more power !!!

[TIP] Battery Backup and Drain

Tip On Battery Drain
Hello Everyone...
Most of us move to Custom Rom’s For various purposes it can be new features, Andriod Upgrades etc But the most common is reason is battery backup which is poor in Stock when Compared to Custom ROM’s.
There are actually 2 ways by which we check battery Stats :
1) Stock Battery Monitor
2) 3rd party App
And we note down the battery performance for hours or a day.
Some people feel that your device is not yielding good battery just because the battery monitor stats show it, you might be wrong in your judgement as most such apps sometimes lie to us.
Remember that with any new ROM is installed on your Android device, you will (In some cases may not) discover battery drain. And these issues for the most part are due to process of your phone’s new software and battery sync.Remember whenever you Install new ROM your device and its hardware will try to adjust to software has well has your battery too which is called caliberation.
It usually requires 3-4 full-charge and discharge cycles before things go to a normal state and Exact battery backup information is known.after this, you will notice great improvement in battery performance. So, do not be quick in concluding anything about battery.
Let the battery calibrate and while you wait try one more thing. Avoid putting your device into charging mode frequently. Turn off the phone, plug charger, wait till it is fully charged and never use mobile while charging since it Reduces battery life has it charges has well has discharges too. Then use it till it is fully discharged. Repeating this several times will improve the battery-life of your device. I have tested it and it really works.:laugh::laugh:
Hope This Helps You All...
Any More Suggestion Feel Free to post in Reply Section.
+1....has always been on stock cable and adapter....and has tried not to charge the battery unless it is around 30-35 %. Once in amonth, i do a complete discharge and charge.
Has installed only required apps to be used regularly.( thats personal choice though ).
so yes till now my battery performance has been very good.....:good::good:
On RR 5.1.3 with nebula kernel 3.12..dalvik runtime....

Categories

Resources