I haven't tried with a "real" power supply, but charging from a USB powerbank works fine. What worried me at first was that your adapter is rated for 20V, which I think is too much for the switch (
[email protected]), but maybe the USB PD standard takes care of that?