Using
Arduino True Battery Capacity Tester you are able to measure the charging capacitance of Li-Ion/NiMH/NiCD/Pb batteries and display results on character LCD screen or aquire full discharge characteristic graph on PC. Tester supports auto battery type detection and discharge takes from 30-120 minutes to complete, giving you an indication of battery’s quality.
Arduino True Battery Capacity Tester (Li-Ion/NiMH/NiCD/Pb)Â - [Link]