The 30W charger from the MacBook Air definitely doesn't have enough power to supply both USB-C and USB-A ports on my Caldigit SOHO dock. My M1 MacBook Air goes to sleep when using clamshell mode if I plug in an ethernet adapter and then a thumb drive. I guess if the charge falls off, the power circuit thinks the MBA isn't plugged in to the charger. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.