This is most likely a hardware issue. Please try charging from a different source, both cable and charger or perhaps from a PC if available.
If the problem is still present then the phone needs to be examined at an ASUS service center. If the problem is not present when you change the charging hardware, you likely have a faulty wire. Your warranty will cover a replacement, but for that you would have to get in touch with your local support team as well.