View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#850
Originally Posted by vi_ View Post
***mind blown***

(do you actually mean mA as opposed to mAh?)

So I'll actually be able to charge my battery to '100%' and have an accurate value representing charge??

No more simply relying on voltage??
Nice catch - it was logical typo. Thanks, fixed that.

As for accurate values - yea, when properly calibrated, charge_now and charge_full (as reported by bq27200 module) will be accurate. By the way, implementing dr_frost_dk algorithm somewhere else (pyBattery, for example - I already talked with 412b about that), may make comparison between actual SoS and voltage-based graphs even easier. You can see how it differentiate in given point of time.

For non-measuring purposes, it's good to perform learning cycle at least once for 3 months, to keep calibration up with degrading capacity. Normally, it would be done much more often automatically - with learning step @ 3248 mV, and device turning of @ 3000 mV. Ho ever, with bme disabling device in less than half minute (most of the times), after learning curve, everyone try to charge before that happen. Hence, not allowing chip to recalibrate.

By the way, amongst tons of other data that bq27200.sh script provides, there is also info about cycles since last learning, and cycles since full reset (I got no idea when full reset occur, if not only flashing eeprom). It also notify, if there is more than 32 cycles since last calibration.

As an addition, here is my lamish script + desktop file to enable getting some data directly from bq27200 module, omitting i2cget. Of course it provide MUCH less data, than bq27200.sh by shadowjk. Still, I find it very useful for quick checking actual current etc - I even binded it to camera focus longpress, still having shortcut for it on desktop:

bq27200-0.sh
.desktop file for it

Note, that similarity in name with shadowjk's one is present *not* on purpose - I named my little script long before I discovered shadowjk's one. Also, concept of this *very* little script is mine, although I could manage to finish it only thanks to nicolai help (especially, with sending output to screen as tapable notification).
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2011-07-19 at 10:14.
 

The Following User Says Thank You to Estel For This Useful Post: