I had already come across this problem and posted my solution some time ago.
Unless one needed to know, they would have no interest in it and would probably have ignored my post.
Here it is.
I needed to measure the capacity of an 18V drill pack, here is how I did it