Monday, June 27, 2016

[DEV] Disable USB Charging

Introduction

Hello,
I've made a simple app to disable USB charging so you can keep plugging your phone to PC without charging to 100%. Personally i use it when I'm connected my phone for development (ADB over USB).

But i need your help. I wan't to make it compatible with more android devices, currently its just some LG, Xperia, and Xiaomi phones.
Right now, I need your help to increase its compatibility to Samsung Galaxy S7.

Images



How you can help me?

If you have file manager access:
  1. Go to /sys/class/power_supply (or something similar sounding).
  2. Look for USB or Battery or similar sounding folder.
  3. Enter those folders, and reply the screenshot of the files to this topic.


If you able to use Terminal:
  1. type ls /sys/class/power_supply/
  2. then, screenshot it (or copy paste it) and reply it here
  3. type ls /sys/class/power_supply/battery (or other similar sounding folder you saw on /power_supply/)
  4. then, screenshot it (or copy paste it) and reply it here

Thank you!

Features
  1. Disable usb charging
  2. Enable usb charging

Downloads
on play store (need root access)
http://ift.tt/1sp3LS9


XDA:DevDB Information
Disable USB Charging, Tool/Utility for all devices (see above for details)

Contributors
orangpelupa

Version Information
Status: Alpha

Created 2016-06-28
Last Updated 2016-06-28


from xda-developers http://ift.tt/29iZJCo
via IFTTT

No comments:

Post a Comment