check the number of charge cycles