update for battery check