Pi Power Cable
A good way to power a raspberry pi in an awkward location is to use power over ethernet poe.
Pi power cable. Power supply 5v 3a with switch ul 2 5a 2a 1 5a 1a fast rapid charge ac adapter w 1 5m extra long on off power switch micro usb cable for raspberry pi 3 model b b plus 4 pack 4 5 out of 5 stars 68 29 99 29. If the cable you planned on using to power your pi 4 does not work using a usb c phone charger or an older charger with a type c adapter is suggested as they are less likely to use e marker chips. This means that the hubs will power the raspberry pi through its usb cable input cable without the need for a separate micro usb power cable and bypass the voltage protection. If you are using a hub that backfeeds to the raspberry pi and the hub experiences a power surge your raspberry pi could potentially be damaged.
This technology uses a standard ethernet cable to send power to a special add on board fitted to a raspberry pi. It has the added benefit of connecting a pi to the internet at the same time using special injectors. This didn t affect the usb c cable and power adapter that shipped with the raspberry pi 4 desktop kit nor should it affect any future raspberry pi 4s you buy but it s definitely something to.