How to NOT charge when USB debugging? I develop "on the road" using a laptop that's not connected to a power source, so when I debug on my android devices, they drain my laptop battery.  Unfortunately, the laptop is a MacBook Air so spare laptop batteries is not an option.  (I charge everything at home at night.)

Is there a setting to switch USB charging off, especially when debugging?
No there is not way to turn off charging.