Recently my wife's mid 2010 Macbook 7,1 A1342 started not charging the battery. I tried resetting the SMC and PRAM many times. The light on the Magsafe wouldn't light at all. The SMC version is 1.60f6. I have an identical Macbook running 10.6.8 and I tried swapping the ac adapters to no avail. I installed a new Magsafe board and that did nothing. Actually when I first plugged it in (with the new Magsafe board) it lit up for about 10 seconds and then nothing, and did the same thing today for a few seconds. I have cleaned the Magsafe connector many times and the ac adapter works with my other good Macbook A1342. I sprayed Deoxit in the Magsafe plug/jack and it looks pristine. I upgraded the OS from Yosemite to Sierra to no avail. I upgraded Sierra to 10.12.5. I have done the SMC and PRAM resets countless times. The piece of plastic between the Magsafe jack and the Ethernet jack is broken , suggesting some possible impact damage, but there doesn't seem to be any visible damage beyond that. I swapped the batteries between the working Macbook (mine) and my wife's broken machine to no avail. I say broken but it does work with the ac adapter attached. When I click the battery icon up top it says, greyed out, that it's running off of the ac adapter and that the battery isn't charging. You can use the computer for hours with the ac adapter and the battery won't run down any, still the ac adapter (with either of my two ac adapters that work fine on my other A1342 Macbook) will not light at all. It will run off of the battery. When I try to boot it with the battery unplugged from the logic board it won't boot. When it's running off the ac adapter and I unplug the battery it crashes. Coconut says the battery is good, although not charging. I've run Disk Utility, reset the SCM and reset the PRAM many times throughout my attempted repairs. The only thing I can think of is to swap the Magsafe boards in case my wife's Macbook had a bad Magsafe and the new Magsafe I installed was defective (which seems very remote). Also, the machine is very sluggish after the Sierra upgrade. Any ideas would be appreciated.