27
What’s the easiest way to pull ~30mA from a USB 3 port without getting a warning from Windows?
(self.askelectronics)
For questions about component-level electronic circuits, tools and equipment.
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
Do you get the same issue if you short the data lines? That's usually the indication (to devices) that the port is for charging only; not sure how thats received in the reverse direction.
Looking at the PD spec I got the impression devices are supposed to pull the D+ pin up to a certain voltage, but I got lost partway through.
OP asked for the easiest way and deciphering the spec docs probably isn't it.
For power delivery, ie requesting power outside the typical 5v 3a max; yes.
The charger shorting them together usually indicates to the device, it's fixed at 5v 3a.
I think the device shorting them will indicate to the charger/port that you're only requesting power @ 5v 3a max; but I haven't dived into the spec.
I'd give that a try and dig further if it doesn't work.