Battery connection with a current sensor