Battery state reading