How to disable battery charging during ADB connection?
问题 Problem description: Each time wen I connect USB cable between PC and my mobile phone the battery automatically is charged. I want to use ADB protocol but I don't want to charge my battery during ADB connection. Is it possible to to turn off this charging? And ofcourse how can I do this? Environment: Mobile phone with Android os 4 and higher I need only mention that my referential device working on android 5 so there is no /sys/class/power_supply/battery/force_usb_charging file 回答1: BEWARE: