Apologies for my lack of deep knowledge here - this is not my background and I am definitely an amateur so I greatly appreciate your willingness to help me!
Background: I was curious about the negotiation between a USB power supply and the device plugged in. Therefore, I took a power brick that is rated for 5V at 1A and plugged it in. I then took a USB 2.0 cable that I stripped to expose the VCC and GND wires. I hooked my multimeter directly to the ends of these wires because I wanted to get readings without a device. I measured the voltage and got an expected, for me, 5V. I then measured the current at about 100mA, but it was oscillating between that and 0mA very consistently.
Question: I assume that I get the 100mA because I don't actually have a device plugged in, but why does it bounce back to 0 so consistently? I assume that the power brick is waiting for some negotiation from the device prior to supplying any meaningful amperage?
Relevant Post: At the bottom of this relevant post Tom Carpenter writes:
How does the master know the device needs power? Simple, all USB devices are allowed to draw an amount of current without requesting it - up to 100mA as far as I recall. This gives the device enough power to turn on, assert its presence (with a pull up resistor on the D+ line - again probably too in depth). Once the master is aware of the device, it allocates a power allowance to that device and asks if it will need more (e.g. for a high power device, if it wants the 500mA high current allowance).
I assume the above is why I received the 100mA, but am still unsure why it bounces. I have a recording of the setup if it would be preferred to see.
Updated: