How to measure voltage and current of battery solution