Sometimes I plug my phone in to my laptop for USB tethering (bluetooth tethering works terribly for some reason so this is not an option), but annoyingly it charges from my laptop battery when the (android) phone is plugged into my laptop. How do I stop this from happening when my laptop is unplugged (from charging it's own battery).

  • There are ways to power off a USB device, but these options most probably cut off the data too. Physically modifying a USB cable to cut the power line (so only GND DATA+ DATA-) results in not even noticing there is a USB device connected. There could be some hacks to make the host device (Laptop) detect a USB device is plugged, but this could result in the client device (Phone) not recognized being plugged to the computer.
    – Emre Talha
    Oct 16, 2022 at 14:20
  • how does this relate to ask ubuntu?
    – 24601
    Oct 16, 2022 at 14:21
  • Since this question is not specific to Ubuntu, I would recommend asking this in one of these: general Unix&Linux, general Computer, for modifications/hacking about USB cables general electronics
    – Emre Talha
    Oct 16, 2022 at 14:26
  • @24601 perhaps there was a setting somewhere in the ubuntu settings? Since I can't find any info about this anywhere its hard to know Oct 16, 2022 at 14:57
  • Im not aware of any such setting
    – 24601
    Oct 16, 2022 at 14:59


Your Answer

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

Browse other questions tagged or ask your own question.