How can a circuit functioning to measure Li-ion or else type battery manage to get its mAh capacity, how is this circuit's method ?

Found it out from a reviewer fed into an e-commerce site I forget, likely China's
Here, though a bit hard, we can still read 542 mAh which I think it's either battery capacity the tester device refers to and the consumer then pled or complained the seller's fraud

Found it out from a reviewer fed into an e-commerce site I forget, likely China's
Here, though a bit hard, we can still read 542 mAh which I think it's either battery capacity the tester device refers to and the consumer then pled or complained the seller's fraud