My Dell XPS 13 was working fine for about 9 months. Recently, I have to go through a lot of trouble just to get it charging. When I plug in the adapter, the light on the end of the plug turns on, but to get the charge to work, I have to push the cord extremely hard into the laptop. Even when I do this, the laptop usually only stays charging for about 5 seconds. After about 20 tries, I got it to stay charging. The warranty is still (thankfully) active, so worst case, I can just get it replaced. But before that, what can I do to try to fix it?