Battery not detected and not charging. Logic board issue.
So I replaced the keyboard on my Mac and upon rebooting and lots of confused searching, it turns out my battery was not being detected. It will only run off the ac adapter, doesn't show any lights when you push battery indicator button and shows an x on the battery logo in OS X. I have tried all of the software tricks I could find, like resetting the SRAM and such, but none of it fixed the problem. I took the Mac to someone to look at and they said it might be an issue with something on the logic board and it would have to be replaced. The laptop works just fine it just needs to always be plugged in. I really want to use it again like a normal laptop and don't want to pay to replace the logic board so I was wondering if anyone had other possible solutions to this issue.