|
||||
|
Re: Battery Meter and Temp reading "Fix" (workaround) (6/4 Update)
I can offer it to them, but it's up to them if they want to include it or not... I can't commit the changes myself as I'm not a dev. And as I said before one of the Dev's that I spoke with when I first started looking at this said that using the Raph's Battery calculations was not correct... So I'm not sure that they would commit the changes.
__________________
![]() Phone: Sprint HTC EVO 3D ROM: Synergy Nightly with Own Mods ![]() |
|
||||
|
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.
__________________
Many of the questions asked over and over are answered here:
Port Status: click here FAQs: Click here CDMA Dev Thread: Click here GSM Dev Thread: Click here Latest Kernel and Module: Click here |
|
||||
|
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?
__________________
If you have wifi and GPS on your phone, click link below for Navizon. Navizon gives you money to log wifi and cell phone towers.
http://my.navizon.com/Webapps/UserAd...e=585A56575E5E |
|
||||
|
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:
|
![]() |
|
|
|