Is there an interface or API or something on Android that would allow an app to eject a cable and stop supplying or receiving power from it?
I've looked through USBDevice (Including USBInterfaces) and can't seem to find anything would would replicate a cable being unplugged.
Using the grand old google, I found Controlling a USB power supply (on/off) with linux. Thats near the exact same thing I'm trying to accomplish, but on Android. I thought, given the change in platform, that a new post would be warranted.
Thanks in advance