I am writing a G-code sender for Android, but I have hit a snag. How can I prevent the phone from discharging while it sending G-code to the printer?
I have several Android phones and tablets and they have a micro USB OTG connector, which I can connect to my 3D printer using an adapter. But it looks like OTG has this limitation - it can either accept power when in Device mode, or it can provide power in Host mode. So, while in Host mode the phone can't be charged, so I can't do long prints, which seems like an unreasonable limitation.
Any ideas on how to solve this?