Don't be fooled by cheap USB multimeters
oldvcr.blogspot.com
oldvcr.blogspot.com
You'd think you need something smarter than that, but most of the time, the USB power is connected directly to 5V bus, via polyfuse if you are lucky. The amount of motherboards which have (1) per-port current sensor (2) per-port power switch (3) firmware which precisely negotiates current limit is pretty small. Thinkpads seem to be the closest ones, but even they assume 0.5A current limit if nothing is connected to data lines.