RES interview question

How do battery capacity tests work?