I would advice against charging anything at PC's USB ports. I have damaged two USB ports in the past due to charging and obviously stopped doing that. After they got damaged, they can't recognize anything, all devices plugged at these USB ports reported as malfunctioning (they of course work just fine when plugged in other ports which haven't been used for charging). Your best solution is to get a phone charger or a wall plug that also provide USB outputs. For the few bucks these solutions cost, I wouldn't risk my PC.
I suspect the reason is, although these ports can provide the specified amount of current, they aren't designed to sustain that for a long time the same way a dedicated charger can. YMMV of course.