Thanks! Connecting to my laptop worked for me. I really thought I would never be able to get my phone charged again.
Does anyone know the reason for this charging bug? It seems like a flaw that Motorola should take care of as soon as possible to keep customers loyal to future models of the Moto X.