After many episodes of cables having to be propped at specific angles and total fails at the least opportune moment, I have started to use cables with magnetic plugs.
These plugs can be left in the socket and snapped by magnet to the lead as and when.
This way there is no wear on the connector pins from repeated plugging/unplugging, stress from pulls and the socket does not admit dust and other cr@p.
There seem to be two main types:
Twin pole for just charging, and
Multi pole for data and charging.
Like most things, you gets what you pays for. I have bought a few now, about £3 for basic twin pole and a fiver plus for data and charge ones.
The data cables and sockets are not always interchangable between brands. Also the data leads seem to have better magnets.
It's great not to have to worry about the cat doing snake killing practice and pulling the device off of the table, since the magnet will unstick first.
I will link to a couple on s popular auction site- it's not an advert and no connection to me. Just an illustration.
https://www.ebay.co.uk/itm/3-in-1-Magne ... 635-2958-0
https://www.ebay.co.uk/itm/540-Magnetic ... 635-2958-0
Hope this is of some help to someone, but maybe other people aren't as clumsy as me