Battery internal and external circuit current