Time to exercise that warranty.
That said I found the USB cables fail a lot. When I investigate these complaints I try my own 2+Amp USB adapter and relatively pricey USB cable.
I have a T-Mobile Trio AXS android tablet (no plan, just for wi-fi). Lately I've had trouble charging it. A couple of times it wouldn't charge even when turned off & plugged into the wall. I've tried switching cords & that worked for a bit. But now if I'm using it and plugged in it won't charge. But it doesn't discharge either. Like now it's at 53% and hasn't changed. I've tried deleting energy-sucking apps. I'm using Avast battery app but with no luck. It seems like lately it's one annoyance after another.