There is a simple USB passthrough dongle called ‘KEWEISI USB Tester’ or something similar. On sale you can have it for $2. I use it to connect to a battery charger every time I charge a battery. It will measure mAh passed through it. As long as the charger doesn’t do anything smart, it will give me an estimate of the battery capacity. I keep my eye on batteries for every charge so I can pick out the failing ones as soon as possible to avoid a disaster.