In an electric circuit containing a battery