Relationship between battery impedance and current