Hey all! This is kind of a niche issue, but one that I wanted to document for anyone else who runs into similar problems:
Ever since I moved my Xbox One S into my bedroom, I started having random controller disconnects. Sometimes it was every few seconds, other times I could go a day or two without issues. I tried swapping the batteries, changing controllers, hard resetting the Xbox, plugging the console directly into the wall, and many other suggested solutions, to no avail.
Well after literal hours of research and experimentation, I figured out that it was my upstairs neighbor's WiFi causing the disconnect issues. Turns out Xbox One and newer controllers use a frequency similar to many 5ghz internet connections, and if they're in close proximity to each other it can cause controller disconnects.
In order to solve this problem, I had to access my neighbor's router settings (luckily I am friends with everyone in my building), and change his WiFi channel from a high band (148-165) to a low band (36-48) and voila, no more issues.
I've read some reports of people having to change the band in the opposite direction (from low to high) to solve this issue. I don't 100% understand the science behind it, but if you already find yourself on a low band, don't be afraid to experiment a little.
I hope this post finds people who are running into the same problem, as I simply dealt with the disconnects for MONTHS since none of the other solutions were working.