Is it really that simple? Just changing a resistor value? I got an XPS 13 for work, it’s all USB-C, and the versatility of the port is fantastic (doesn’t matter which port I plug into, it still charges, so I don’t have to wrap the power cable around the back of the machine or sit in a weird position to keep some slack in the wire). However, I took it to the office and naturally I plugged my power adapter into one port. I then plugged in the monitor (also USB-C, delivering power), and the two ports cancelled themselves out and confused the OS. Windows thought I was charging the laptop yet it also said the battery was depleting. They were negating each other and the battery loss continued as it would with no power connected.
It makes sense for a monitor to power the laptop because it’s mains connected. But then you have one of those classic programming problems: if there are multiple inputs providing the same thing which do you consider the source of truth?