measure current draw