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 ...
Go to Settings > Network & Internet > Internet (or Wi-Fi). Tap the network name and choose Forget, then reconnect with the password. Enable Airplane mode for 10 seconds, then turn it off. This resets ...