[Q] Charging over USB through PC
I am new here and have found some answers but no solution for this problem, so I try again by a new thread (sorry if I missed an answer)
I want to charge my tab through the usb connection to my pc or in my car and not only through the AC-adapter.
In the development discussion is this theme going on (page 101):
Originally Posted by jaswinky
With the console apk in the device directly:
1|u0_a40@android:/ $ adb shell echo 1 > /sys/class/power_supply/battery/force_usb_charging
/system/bin/sh: can't create /sys/class/power_supply/battery/force_usb_charging: Permission denied
I don't kmow why this error, I am root, but anyway, I changed this value directly using root explorer and a text editor and it works for me, now I have enabled usb and non-samsung-charger charging.
Thanks a lot!
Enviado desde mi GT-P7510 usando Tapatalk 2
You are using Terminal Emulator ? If yes then no need to write adb shell, just su first then echo 1 > /sys/class/power_supply/battery/force_usb_charging
I followed this instruction by Using the Terminal Emulator. Changing to "1" works fine until I restart my tab, than its back to "0" and I do have to change it again.
How can I keep the wanted setting to "1" ?
Thanks for help in advance
Samsung Galaxy Tab 10.1 P7500 3G + Wifi
Latest nightly CM10.1 JB 4.2.2