Chosen Solution

Hello Guys, I am facing a very peculiar problem. It all started when my laptop stopped charging or showing that charger is connected (not the problem “battery not charging”).. my laptop just don’t show any sign that the charger is connected nor the led light up on the charger. I thought the charger had gone bad so bought a new one but same issue. Then I replaced the I/O charger board with a new one and the battery started charging.. I was happy and all but it charged only till 72% and stopped and again the old problem returned.. My laptop was giving me normal backup time from the 72% it charged to. Then I started experimenting, what I found was if I disconnect the battery from the motherboard, the laptop detects the charger - the green led lights up - the laptop works normally. If I connect the battery while it is on - led turns to orange and the battery starts charging to 100% and led turns green.. and the laptop will work without any issue till I disconnect the charger.. once disconnected it will not detect again… till I disconnect the battery again. If I charge the battery this way and disconnect the charger the battery gives me normal backup as it was supposed to. What do you guys think is the problem here?? Those wondering why I am doing all this experiments.. the nearest apple service centre is very very far away.. so I have to fix it myself. Images of CoconutBattery :

One of the problems I had seen in this older series is a domino effect! When a battery age forces the system to run the charging logic more often as the battery chemistry is not holding the charge, often causing both the MagSafe charger block to overheat as well as the charging logic on the main logic board. So to fix this we need to replace two parts: MacBook Air 13" (Mid 2013-2017) I/O BoardMacBook Air 13" Mid 2013 Battery Replacement Here’s the needed guides to do the tasks: MacBook Air 13" Mid 2013 I/O Board ReplacementMacBook Air 13" Mid 2013 Battery Replacement