![]() |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
unknownforce, are you going to get these changes into the xdanadroid dev tree so we can see this on the regular builds?
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
I copy the zImage over the zImage file that I currently have but there was no change. It keeps indicating that the battery is at 5% even though it says 60% in Windows Mobile. :(
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
And either rename your old module file to not have "module" prefix or just delete it |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Unknownforce,
Have you looked at Post #37 by sovereignty03? He lists something to try which looks like it may give more accurate readings since the calculations you are using appear to be from a phone with lower capacity. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
It has no correlation to the battery capacity. Trust me if it were that easy, the Devs would have already had it working long ago. The calculations I am using are very close, but they are just not as accurate as they should be. And there ARE no calculations that keep the battery level STABLE under different discharge/load levels at the current time. In just what little I have gathered from my limited disassembly of the battery.dll, it looks like there are 2 different ways it calculates the battery based on whether or not it's discharging or charging, (which is kind of what I have done in the 6/4 update) and then inside that there's multiple battery percentages it stores... One is a "stabilized" reading, another is a "immediate" reading, and another I believe is used in the stabilizing process, most likely a "previous" percentage used to "average" the battery level... So probably the only thing left to do on this is to just stabilize the load to percentage ratio and give it a condition to NEVER go up in percentage if it's NOT charging. But the current code doesn't seem to take load into consideration very well. |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Should I be deleting the old module.gz from my phone? Or do I just copy the attached modules file?
|
Wirelessly posted (Mozilla/5.0 (Linux; U; Android 2.1; en-gb; HTC Legend Build/ERD79) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17)
Quote:
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
About keeping stable under varying loads, There is a solution that uses the output impedance of the battery. I am in the (slow) process of compiling the data to plot a curve for the output resistance as a factor of battery temperature. If one knows this curve it is painless to calculate the correct percentage of charge. I'll share it with you when I get it done. I haven't had much time to dedicate to it yet... |
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
Quote:
WITHOUT this fix, it would ready 100% when it's more like 50-60% and not charge beyond that because it thinks it's are 100% because of the extreme increase in the voltage reading while on the charger. Quote:
|
| All times are GMT -4. The time now is 06:50 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com