as above, try another battery if you can.
my first x10 had problems with connecting the charger and turned out to be a faulty usb port, its a common problem.
take it back to your carrier and get them to fix or replace it. i think they will just replace it or at least thats what happened with mine.