Apple – How to fix a MacBook Air that won’t charge?

If your Mac battery won’t charge – Apple Support

You can probably get it repaired by a third-party repair provider, but a failed MacBook Air over a decade old isn’t usually worth an investment.