For those of you having this issue on your Samsung Galaxy device, the best way you can fix this USB Connector Connected / Disconnected on your device is to clean your charging port.
One of the reason your device is showing USB Connector Connected / Disconnected is because your charging port is dirty or maybe there is water in it. There are four contact points inside of the USB-C port.
To fix this annoying notification, grab a toothpick, thin it out with a knife just enough that it can fit in the port and use it to clean the charging port. Softly twist the toothpick while you scrape as well. Do this for some minutes and then restart your phone.