..johannah91..
Maybe there are some things to try, before seeing about service appointment?
• If your USB-C power adapter isn't charging your Mac notebook - Apple Support
https://support.apple.com/en-us/HT204652
For the interim, sometimes odd things just work; if push comes to shove.
• How to use Safe mode on your Mac - Apple Support
https://support.apple.com/en-us/HT201262
Appears your MacBook Air may need to visit an authorized Apple service provider
or first, ahead of that; see if an Apple Retail store Genius, could help troubleshoot.
• Genius Bar Reservation and Apple Support Options - Apple
https://www.apple.com/retail/geniusbar/
[choose the 'hardware' section link, if certain; for different options]
Maybe the battery and charging circuit needs close inspection/attention?
PS: your thread was relocated to MB/Air ASC.