Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I would like to know how to prevent an iPad/iPhone/iPod Touch from charging while connected to the USB port on a MacBook on battery power.
I don't think you can. USB includes 5v power, and I think it happens on a hardware level. As in, it can't be turned off without modifying the connectors or the hardware in some way. Not worth while.