Battery pack with protection board capacity measurement