There is one simple command to determine how much power can give you your cable + charger combo. I’m using Macbook Air M1 from 2020, but it should work on older and newer too.
/usr/sbin/system_profiler SPPowerDataType | grep Wattage
Wattage (W): 90
You can also check it out via GUI via 5 steps: