I bought a cheap generic USB charger for my Xperia X10 before and it did not charge at all.
Saved myself hassle and bought an official one, one that i can trust 100% to work with the phone. Despite being slightly more expensive, it makes up for it by being a rather well-built product that also matches the phone in styling. I have to say it looks classy within a 1 series BMW interior.