For example, [Berry Berry Sneaky] has recently put together a step-by-step guide on swapping the common ThinkPad rectangular charging port (also used on ThinkBooks and other Lenovo machines ...
[victorc] was trying to do just that, purchasing an adapter cable to charge a ThinkPad. Things didn ... a resistor value which tells the attached Lenovo laptop it can draw up to 90 W.
This includes a Thunderbolt 4 port that offers 98W of power delivery ... which is more than enough to charge the Lenovo ThinkPad X1 Carbon Gen 2 and power the USB-C hub itself.