joerg | sicelo: http://wiki.maemo.org/User:Joerg_rw/jrbme/ will give quite a number of voltage - percentage of charge tuples | 00:09 |
---|---|---|
Pali | Hello! In past I had my own mapping table but I do not know where it is... | 00:11 |
Pali | Anyway, our open source implementation of hal-addon-bme should have something like that table. | 00:12 |
Pali | https://github.com/community-ssu/hald-addon-bme/blob/master/hald-addon-bme.c#L713 | 00:15 |
joerg | if you wanna do any more precise than +-20%, you need to factor in the discharge/charge current at the time you measure the voltage | 00:29 |
joerg | and from voltage DROP vs discharge current (like: 3.8V@0mA, 3.7V@100mA) you can calculate a mix of charge state and battery health | 00:30 |
sicelo | very nice info guys! thank you :-) | 00:35 |
sicelo | Pali: also thanks for your quick review. Implementing the WRTNAC stuff in kernel is way more than I can currently understand (even VOLTAGE_MIN_DESIGN looked a bit complex). But I'll look into it in the next month or two when my workload's lessened a bit :-) | 00:39 |
Pali | ok :-) | 00:54 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!