I have my xperia Z3 connected to an Arduino board through USB, with the phone providing the board power. However to conserve battery I would like to a times stop that flow. Is there any way on rooted, or non-rooted devices to deactivate the usb port temporarily so its not constantly draining power? (without unplugging it of course ) Thanks a lot!
PS. This is the setup
PS. This is the setup