A few days ago, my macbook battery would no longer charge. When I plugin the adapter, the small light does not turn on. When I click on the battery, it says: "Battery is Not charging Power Source: Power Adapter". So the adapter is working, since the computer is running on the adapter. The only problem is that the battery is not getting charged. Also, when I plugin the adapter, the computer does not always sense that it is connected to adapter. I have to plug and unplug 5-6 times (sometimes 15 times!) until it finally senses that adapter is plugged in, only then computer starts working on adapter power rather than battery. I even bought a new AC adapter, but same results. However, rarely, battery does start charging...like once every 2-3 days, then if I unplug adapter and replug, stops charging. So I called apple, they said the battery needs to be replaced. I bought a new battery from Amazon and replaced it, battery is working good, but still not charging, and still have to plug/unplug few times until computer recognizes adapter is plugged in. So to summarize...I have 2 problems: 1. Mac doesnt always sense adapter is plugged in...have to plug/unplug few times. 2. Even when it recognizes adapter, Mac only runs on adapter power...but DOES NOT charge the battery (except in rare cases) I replaced battery and adapter, but not solved. So the problem is from the computer, not from the battery or adapter. The part of the Mac that is supposed to tell the adapter to charge the battery, is not working except in rare occasions, and the part that senses adapter is connected doesnt always work properly. I tried SMC reset, no good. Is the mac damaged? Any solutions?