I'm currently building a battery testing rig which drains a battery and then charges it continuously and monitors/logs all associated data (voltage, run time, and instantaneous current discharged/charged).
I'd like to determine the current discharged over time, but not sure how to calculate that.
> For example: Say I at program time 00:00:01s the current consumed is > 15mA, and then at program time 00:00:02s the current consumed is 20mA > (so on and so forth).
Currently my program is just logging the instantaneous current every second. Beyond that I'm not sure what calculations are needed.
what information about a battery can you measure with current vs. time information
? \$\endgroup\$