I'm planning on using a pi 4B to act as a usb mass storage via a gadget module on the usb-c port.
However, I want it to keep being powered when the usbc power is down, to finalise it's internal tasks.
I wanted to use a external power bank for that, however I'm not sure what I plan will work
+---------+ | Host PC <---------------------------+ | | | +-------^-+ |usb 5V/2A in | +-v---------------+ | |Powerbank | | +---------------+ | | | | Pi4B | +-^---------------+ | | | |usb 5V/2A out +--->usbc 5V GPIO<---------+ | | | | | | | | | | | | | USB3 port| +---------^-----+ | | | +--------v-+ | USB3 SSD | | | | | | | | | | | | | +----------+ As far as I understood it, it would not be a good idea to power it from both the usbc port and the gpio, so, can I just "cut" the 5v and the gnd wires in the cable between the host and the pi and call it a day ?