Cars coming with USB ports have been so helpful, letting drivers charge their phones without getting an adaptor that plugs into the old cigarette lighter port.
Android Auto disconnects are usually solvable once you isolate wired vs wireless. Start with cable/port checks for wired issues, rebuild pairing for wireless issues, and ensure battery optimization ...