Dell Laptop Charger Stopped Working. Can I get it replaced under warranty. I have an issue with my 2 month old XPS 13 9380.

I bought the E6400 without a charger. Interestingly the laptop always shows the Charger not supported must be at least 45 Watts warning. It does not recognize any USB-C Cable although the cables are fine check at different computers.
The charger to my Dell Vostro laptop stopped connecting to my computer reliably.
If you have a spare battery you can definitely find out which is exactly the cause. Closed the computer overnight and when started again the a day later the ports not working again. This pops up even if I connect my phone via USB C for example. You trust that Dell support representatives know what they are talking about so.
