libera/#maemo/ Wednesday, 2022-04-20

joergsicelo: http://wiki.maemo.org/User:Joerg_rw/jrbme/ will give quite a number of voltage - percentage of charge  tuples00:09
PaliHello! In past I had my own mapping table but I do not know where it is...00:11
PaliAnyway, our open source implementation of hal-addon-bme should have something like that table.00:12
Palihttps://github.com/community-ssu/hald-addon-bme/blob/master/hald-addon-bme.c#L71300:15
joergif you wanna do any more precise than +-20%, you need to factor in the discharge/charge current at the time you measure the voltage00:29
joergand from voltage DROP vs discharge current (like: 3.8V@0mA, 3.7V@100mA) you can calculate a mix of charge state and battery health00:30
sicelovery nice info guys! thank you :-)00:35
siceloPali: 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
Paliok :-)00:54

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!