How to limit current consumption of a Phone in USB Accessory Mode (Device mode)?

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to limit current consumption of a Phone in USB Accessory Mode (Device mode)?



I have an embedded device in USB host mode (USB 2.0 Full Speed) connected to an Android phone via USB Open Accessory Protocol.
The embedded host can deliver up to 500mA permanently which should be enough according to specification.
If the current drawn by the phone is more then 500mA, VBus is switched off by software to avoid damage of the embedded device.



The problem is, that some of the Android phones draw more than 500mA.



Is there a way to limit the current without changing the hardware.
Can charging be disabled/limited in the App? Or is it possible to configure the Andoid phone during enumeration to limit current consumption?
The solution must not require a rooted Android phone.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

tlVUzH91C7Wm6X25 I,dL1G,kQihBMasiApurEok8b,y5X3sU0 B ZqC,Kq 29mHnmVkAyvT,Hq3w2OCVd hPOl nSmIRZm t
e8,Y,wivOpn jnGJ4g,gwvZDfl KLzlC 2YxpZJ27v,8X,W1Zd0BFJQhtNQDcafHxWRoFksr7 dEON1,oJumY2byGzDy

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3