Chosen Solution
Hi. Was working fine until I plugged it in this morning. Charger has a very dim green light and macbook detects that it is plugged in but will not charge. Have installed another battery and had the same problem.
Sorry to say your logic board has a problem with the charging logic. This is will take some effort to diagnose I would find someone who has the deeper skills and access to the parts to fix your logic board. You may want to review your MagSafe adapter as often one in question can damage your system. Here’s a good reference: Apple Portables: Troubleshooting MagSafe adapters also be careful on what you use! As Apple is moving to USB-C they have dropped going after the cloners! Here’s a bit more: Counterfeit Macbook charger teardown: convincing outside but dangerous insideLacking safety features, cheap MacBook chargers create big sparksMacbook charger teardown: The surprising complexity inside Apple’s power adapter Where you buy your charger is becoming more important! As the fake units are getting harder to tell from the real ones.