Disable USB Charging (root required)

orangpelupa

Senior Member
May 29, 2012
421
109
0
Download: https://play.google.com/store/apps/details?id=org.bramantya.stopcharging&hl=en

*** ROOT REQUIRED ***

  • Bored with various apps that make your phone charge faster?
  • Want to stop charging your phone's battery when connected to USB?
  • You are a developer that often connect their phone via USB and don't want the battery to suffer?

Disable USB Charging will disable usb charging (obviously..). Allowing you to connect your phone via USB without straining your battery again and again and again.

---

Please mention your Android version or custom ROM if it's not working for you. Thank you.
 

beeshyams

Senior Member
Dec 29, 2014
1,579
527
133
Bangalore
Download: https://play.google.com/store/apps/details?id=org.bramantya.stopcharging&hl=en

*** ROOT REQUIRED ***

  • Bored with various apps that make your phone charge faster?
  • Want to stop charging your phone's battery when connected to USB?
  • You are a developer that often connect their phone via USB and don't want the battery to suffer?

Disable USB Charging will disable usb charging (obviously..). Allowing you to connect your phone via USB without straining your battery again and again and again.

---

Please mention your Android version or custom ROM if it's not working for you. Thank you.
Is it only for Nexus 6? Asking since it is filed under nexus or us it for all devices
 

JimSmith94

Senior Member
Jul 21, 2007
2,734
517
193
Midlothian, TX
Download: https://play.google.com/store/apps/details?id=org.bramantya.stopcharging&hl=en

*** ROOT REQUIRED ***

  • Bored with various apps that make your phone charge faster?
  • Want to stop charging your phone's battery when connected to USB?
  • You are a developer that often connect their phone via USB and don't want the battery to suffer?

Disable USB Charging will disable usb charging (obviously..). Allowing you to connect your phone via USB without straining your battery again and again and again.

---

Please mention your Android version or custom ROM if it's not working for you. Thank you.
Just curious and trying to learn here, why would anyone not want their phone to charge when plugged into USB, and how does doing so strain the battery?
 

orangpelupa

Senior Member
May 29, 2012
421
109
0
Just curious and trying to learn here, why would anyone not want their phone to charge when plugged into USB, and how does doing so strain the battery?
The answer for that is very long. But here's the short version :

To keep the battery from staying at max capacity for a long duration.

The very detailed explanation I think available at batteryuniversity website.

Btw nowadays I used this to keep my phone from overheating though.

Especially useful when I connect it to computer like a whole day with the screen always on. Like this last few weeks when I'm developing Twitter chat for Pokémon go https://play.google.com/store/apps/details?id=org.bramantya.gochat

It use GPS all the time, screen on all the time and switching back and forth with pokémon Go. My adb catlog filled with overheats errors :(

So this app stops the charging so my phone not as hot.

About the compatibility. My target is to make this work for all devices but currently it doesn't :(

Right now still working to make it work on Samsung.
 
Last edited:
  • Like
Reactions: duttyend

corrupt1234

Senior Member
Dec 18, 2011
231
33
0
Hey awesome app. It works on my phone. Now i don't have to worry no more when tethering via usb. However, I do wish you can implement sort of auto enable or disable when battery reach at certain level. That would be even better.
 

20170309

New member
Mar 8, 2017
1
0
0
"Disable ADB USB Charging ROOT* not working in my rooted alcatel pop c7 7040E, android 4.2.2 Jellly Bean

is there any other way/s to disable usb charging?
 

VR25

Senior Member
Apr 20, 2013
1,753
4,365
153
Disable USB Charging will disable usb charging (obviously..). Allowing you to connect your phone via USB without straining your battery again and again and again.
Does it modify /system in any way?
I'm trying to keep OTAs alive.

P.S. Using Magisk systenless root.


Edit
Nevermind, it doesn't.
 
Last edited:

RheinPirat

Senior Member
Jul 11, 2010
148
26
0
Basel - Switzerland
I've searched the last two days for a solution to prevent charging while connected to a PC. Google is full with discussions, but all are from 2011 to 2014.
But today I found this xD and it Works with my rooted Xiaomi Mi Max 2 with Global MIUI 9 7.11.6
 

snovvman

Senior Member
Jun 6, 2008
1,449
456
0
Great app, works on N6, Pixel XL, and Pixel 2 XL. As many know, this app is a lifesaver for DJI remotes. If you have a quadcopter and use the remote via OTG (e.g., Mavic Pro), the phone will drain the remote faster. This app solves the problem.
@orangpelupa, great work! Does the app use console commands to disable/enable charging? If yes, what are they? I would like to automate/script the process if possible. I would still be glad to buy the pro version.
 
  • Like
Reactions: ErbDroid

snovvman

Senior Member
Jun 6, 2008
1,449
456
0
  • Like
Reactions: Sage