The phone sets the charging rate based on if the data lines of the USB cable are active. If they are active, the charging rate is limited to the standard 500mA USB supply. If open, the phone goes into AC mode which allows up to 2A (2000mA) charging rate depending on the power supply.
-- I'm thinking to myself, "Why is that Frisbee getting larger?" And then it hits me…