To my knowledge it can not be done. I know that with cyanogenmod and wired charging with a y otg cable work but not with stock rom.
Sent from my Nexus 5 using Tapatalk
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer?
Copyright © xda-developers. Hosted by Leaseweb