When I'm on the go, I want to use internet tethering and debugging over USB to develop mobile apps with my Pixel 3A, but I don't want to charge the phone, because I want to waste energy on my MacBook as little as possible.
Is it possible to disable charging when the device is connected to my laptop, if so how? I know that I can set up debugging over WiFi and use a mobile hotspot, but I can't stand my hotspot performance and WiFi drains energy from my laptop as well.