measuring amps consumption on a motor