Programing Battery laptop software

How did you measure their capacity?

I use a professional meter, what do you use?

To determine capacity, first set the battery chemistry, then do a full discharge. Now zero the settings and do a full charge. When done the capacity is the number displayed in the Capacity field.