Detect before turning on battery mode line