How to generate discharge curve for batteries?

Hi all,

I am actually wondering how those nice discharge curves for batteries are generated. At the moment, my impression of it is that they can be done with cool gadgets like the CBA IV or the iCharger, but is there any other cheaper and better way? :slight_smile: