• Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 month ago

    I wonder by what method it does that? put out a pulse code on the power out and look for it? Some USB cables don’t actually carry the data lines through, so.

    • Da Bald Eagul@feddit.nl
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      1 month ago

      I imagine plugging a powerbank into itself just causes a short circuit. Detecting that isn’t the most uncommon thing fafaik.

    • Johanno@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      1 month ago

      You either have a ping before connecting and if you get a response don’t do it. Or you send some high frequency wave additionally to the power. You can detect that signal and then stop accepting the power.

      Basically like ethernet over powerlines work.

    • Blackmist@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Probably just sends a number as data, and if it gets it back then doesn’t charge.

      You’re right that some cables don’t carry data, but most do and as long as the cable that comes with it does then it’s going to be fine for 99% of cases.

      There’ll often be a way to break it like going through a USB hub, but most people aren’t actively trying to damage things. I can see people wrapping the cable around it and plugging both ends in to stop them flapping about though.