Battery connected to current sensor