Macbook Air 13" (2017) keeps shutting down
You can first read this : https://support.apple.com/guide/mac-help/if-your-battery-wont-charge-mh29198/mac here is a link to do a Reset SMC.
To have more infos on your battery download and use CoconutBattery