Class that contains battery state and helper