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 ...
USB ports of every shape and size, but that's not all.