The charging cable still looks brand new
Look what the defect is, is it the battery or the charging cable, or a completely different problem the connection is broken
Find out what's broken. Battery pack? Charger? How should we know? You go to the dealer and have it checked!