Auto vacuums detect their charging base using sensors and technologies like infrared signals, LiDAR, or camera-based navigation to recognize the dock's location and move back to it for charging.