I know this doesn't answer your question, but Android Auto is pretty notorious for disconnections. Many people (including myself) managed to solve that by finding the right high quality USB cable. I've seen the Anker Powerline+ recommended in a few places such as this: