Remix.run Logo
▲ unrented7977 an hour ago

> You're supposed to be able to do things like connect two devices to a charger and have the devices dynamically work out how much power they can use, but I doubt anybody has ever completed support for any of it.

You can buy an off the shelf solution for this. Several IC vendors sell auto-negotiating power sharing USB-PD source controllers. It's not that hard to implement and it's a feature you never notice when it works correctly.

Mainly this shows up in power banks and higher end AC adapters.