Announced on July 2015, this is Motorola's flagship phone. It has a 21 mega pixel camera with a 5.7 inch IPS TFT LCD screen with a resolution of 1440 x 2560 making it Quad HD. Model number XT1570, XT1579, XT1575 and XT1578.
If you have not already tried a different outlet and charger then I would recommend doing so first. If the issue still persists then you may have a bad battery, but you could also have a faulty charging port.