Do you have an appropiate charger?
I was researching usb-c charging for my XPS 13 (9350) and apparently the charging standard allows for different voltages so it's not all 5V as you'd expect from good old usb and therefore requires a specific charger capable of delivering the right voltage (19V in my case from what I could gather).