Battery resistance voltage current relationship