One temp workaround I have used with previous Macs and seems to work with my issue, which was after upgrading to Monterey my Anker usb-c port extender worked fine except for supplying power to the Mac (I had the usb-c power cord plugged into the usb-c charging port of the Anker).
Go to Terminal and paste in: sudo killall -STOP -c usbd
It will ask for a password to confirm.
I used this just now and then unplugged / replugged in the Anker with the power cord attached and the battery display message changed from Not Charging to the displaying amount of time to full charge. Now my battery is at least constant as I work (I think the amount of power the Anker allows through is limited?)