The bedside cable has to go around the table
Measure the route you will actually use, including the bends.
Trace the route from the wall socket to the place where you leave your device. Include the bend around the furniture instead of measuring only a straight line across the floor.
Leave space for the connector and for reaching the device without pulling on the cable. A longer cable is not automatically the answer if the connector shape is what presses against the back of the table.
Leave a little room to pick the device up without tugging the connector. Then check the cable’s connection and device requirements. Getting the length right only solves the furniture part of the problem.
Records to explore
These real catalogue entries are comparison examples, not products we have tested.

Apple USB-C 60W Charge Cable Charge Cable
USD 1.20Estimated from CNY 8.00
View product detailsView details
Apple MagSafe Charger Wireless Charger
USD 6.00Estimated from CNY 40.00
View product detailsView details