View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#1689
Originally Posted by Estel View Post
In theory, BME Replacement + status-area-applet-battery from CSSU devel allows it.

In practice, there is a bug in status-area-applet-battery, that makes it use "design capacit" (aka the thing "reported" via exact value of ~100 kOhm resistor build-in between BMI pin and battery -) for calculating battery icon in status bar.

So, you get correct values in opened status menu (for example, it tells me, now: "2981/3115 mAh, 13 hours/7 days"), but the battery's graphic will be all wrong (for example, mine shows full kicon all the way down to 1200 mA, half on 600 mAh - which is, in reality, lesst than 20% - etc).

The bug is reported, acknowledged and confirmed few months ago, but Pali stated lately that real life prohibited him from working on it, and called for volounteers to fix this little bit in the code. No (able) one contributed. I tried for a while to fix it locally and failed miserably then returned to focusing on things that I actually have a clue about
Is the source code for the applet here?
https://gitorious.org/community-ssu/...plet-battery.c

Just going to read it. I do not have a local compile-system. Or a working N900 to test it on.

Thank you.
~~~~~~~~~~~~~~~~~
Per aspera ad astra...
 

The Following 3 Users Say Thank You to Wikiwide For This Useful Post: