Problem: My MacBook Air’s battery won’t charge anymore Solution:
If your Mac is out of date, then install any update you see for firmware, MacOS, or other related operations.
With the cable still attached, click System Preferences on the Dock and choose Software Update.
This is rare for the Air, which is compact and not upgrade-friendly.