There are some circumstances where I would like to switch off power to a USB port, but still allow the port to function as normal.

Is it possible to switch off power to a USB port using software settings?


If power to a USB port is turned off, will it still function as normal (ignore devices and functions that require the power usually supplied through a USB port, e.g. external hard drives, charging of phones)?

[edit] Nobody seemed to read the "circumstances" link I had in the original post. So here it is as it relates to this question:
If your notebook is low on power, and you require a connection to your phone (e.g. for tethering to the internet), the connection with the lowest possible power use that I can think of is a USB connection, but only if the phone does not draw power to charge itself.

  • Could you clarify abit, why this could be useless? Most devices you input into a USB port is requiring power to operate, the only thing I could think of would be phones tha already had power og an external harddrives with and external power supply. Apr 24, 2012 at 8:20
  • Its possible to switch off power, I know this because Zentimo xStorage Manager software can do this after removing a usb device using their software, just don't know how they do it. Would be a nice experiment to see if the communications bus remains active after you somehow disable power.
    – Moab
    Apr 24, 2012 at 11:14
  • you may use wifi/bluetooth tethering for that while. I'm not sure if cutting out the outer power pins of usb would leave your phone detected to pc.
    – d-coder
    Oct 5, 2014 at 15:01
  • Another use case: I wrote an app to switch off WiFi on my phone when the screen goes off, unless the phone is charging or in a VoIP call. Now it works, but it was hard to debug over WiFi or USB if both are off/disconnected! Emulation was not an option as this is to replace a missing feature in Android 8.1 and emulation of newer Android versions is not supported by Google on AMD/Ryzen processors yet.
    – nsandersen
    Apr 11, 2019 at 9:15
  • I'd like to turn off the power to a USB as well. However, in my case I don't care if the port still works. I just want to programatically turn on/off an external USB powered fan. Mar 28, 2020 at 1:11

2 Answers 2


The simple answer is no, if you remove power to that USB port it will not function as a USB port.

Part of the specification is for power, and all devices plugged into a USB port expect power.

What is it you are trying to achieve? That may help us provide an alternative answer you can use without trying to breach the spec.

  • I've updated my question with a use-case. Since the spec includes power, I'll approach the problem from the other side. It'll be interesting to see if there are ways to prevent a phone from charging when plugged in to a USB port.
    – chobok
    Apr 26, 2012 at 10:05
  • @chobok - The phones on the market today do not provide a method to not charge unless they are already fully charged. Its an engineering decision, 99.9% of people want to charge their device, when they plug in the cord.
    – Ramhound
    Apr 26, 2012 at 12:38

I've just tested this by cutting the red wire of an USB-Cable. If the other device is powered, it still works fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.