USB ports on Mac keep on connecting/disconnecting - Any ideas?
I have a MacBook pro (mid-2015) where the USB ports keeps on connecting/disconnecting when you plug something in. But it happens intermittently.
Any ideas on what could cause this? I've noticed it happen both with plug in a iPhone or iPad (even when I use the original cables).
I recently had the battery replaced in the MacBook via a product recall. Could Apple have damaged the USB ports when they switched the battery?
I contacted the Apple store and they said they will do a diagnostic. Would a diagnostic pick this problem up, especially because it occurs intermittently? Is the diagnostic same as the Apple Hardware test or something more advanced?
MacBook Pro 15″, macOS 10.13