RE: Dell XPS 15 Plugged in but not charging
When you plug in the adapter to the system, does the adapter stay firm or does it fall off easily? Is there any damage on the system?
Restart the system and press f2 key to enter BIOS - check the adapter status in BIOS with and without the adapter plugged in. Also, wiggle the adapter cable at the end and see if the status changes in BIOS at any point.
Update the BIOS and check if it works fine - http://dell.to/2nJNk0f
Restart the system and press f12 key on startup - choose diagnostics. Let it run the diags and if you encounter any errors - make a note of the complete error and report the same to us. These are onboard diagnostics and they might possible pick some error if the hardware is not functional.
If the adapter fits in loose and also considering two adapters have the same fault, I would suspect a DC port issue.
If the system is under warranty, kindly private message me the service tag and your name, so I could review the warranty info based on your region.
If there is no warranty, then you could contact our team to get a quote for a paid service call - http://dell.to/1vnT6CQ
You could also order the parts here - http://bit.ly/2p8iezM
Let us know if you have any other queries.