I want to have a Raspberry Pi connected to my phone via my phone's USB-C port, so that I can send ADB commands from the Raspberry Pi to the phone. Ideally, I do NOT want to have a separate battery to power the Raspberry Pi, and instead I would rather just draw power from the phone itself to power the Raspberry Pi.
Is this possible? What specs should I look for in a phone to ensure it can do this?
To be clear: I want to power the Raspberry Pi directly from the phone itself.
For a concrete example, the Raspberry Pi Zero draws 1.2 amps at 5.1 volts i.e. 6.1 watts ( https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#power-supply ). The USB standard says that USB 3.2 Gen 2 can deliver 7.5 watts ( https://www.etechnophiles.com/usb-port-power-output/ ). The Pixel 8a apparently has USB 3.2 - ( https://www.devicespecifications.com/en/model/a90b5fd4 ). So, theoretically, if I hooked up a Raspberry Pi Zero to a pixel 8a, the Raspberry Pi Zero would power on. Is this correct? Would I be able to program the Raspberry Pi Zero to issue ADB commands to the pixel 8a while it was being powered?