This happens with one of my powerbanks! If connected to a USB hub as a USB device (not as the power source), it still starts charging my Macbook which is connected to the hub.