I have a friend that uses a magnetic USB cable like this:
https://www.amazon.co.uk/Magnetic-Charging-Rotating-Compatible-1M-3ft-Red/dp/B09ZJ857RN/ref=asc_df_B09ZJ857RN/?tag=googshopuk-21&linkCode=df0&hvadid=606544686416&hvpos=&hvnetw=g&hvrand=14228659723437070912&hvpone=&hvptwo=&hvqmt=&hvdev=m&hvdvcmdl=&hvlocint=&hvlocphy=1006864&hvtargid=pla-1685180066123&psc=1