HTC One is not charging
You have to go to the store where you bought it so they can have it checked. Maybe the battery must not be totally drained. Have them checked your phone since it still has warranty if you just bought it few months ago.