I got a mac book of almost 3 years old….
And I had today a problem that my mac didn’t charge itself ! Sometime the light was green and most of the time it was off.
The Powersupply was connected and also recognized by the system.
Why wasn’t it charging ? The problem was Camtasia and Powerpoint. After shutting down both applications, everything was working like normal.
So don’t panic if you’re Apple laptop isn’t charging. Just verify if any application is requesting too much power. The battery won’t change if the charger is too hot. (Modern technology.. Hooray..)
If you need hardware replacement : https://support.apple.com/en-us/HT201700