USB connect / disconnect loop on XA2

Hi everyone,

I have a problem with my XA2. It is suffering from a high battery drainage and maybe I finally found the problem. The kernel says all the time connect and disconnect of USB Type-C. The thing is, there is no cable attached.

The loop stops when a cable is connected. I cleaned the USB port of my phone several times already. Maybe the port is broken. But is it possible that something went wrong after I used a strange cable? I heard something about USB cache on Samsung phones which can be cleaned. Is there something I can try via the OS to determine the problem?