For instance, over on the Hackaday Discord server, someone has built a WUSB3801 circuit which limits a Li-ion charger’s current based on whether the USB-C port connected can provide 3 amps or not.
Results that may be inaccessible to you are currently showing.