Fixed the dead battery warning