I am having issues with an X appearing over my battery icon saying no battery detected. this happens randomly throughout the day. sometimes it charges fine and other times i get the x. I tried resetting smc but it only temporarily fixes the issue. A few minutes later the issue comes back again. when the battery is detected i can disconnect the cord and run on battery. it starts acting strange after a few hours. it will say 0% battery left but when i connect the cord it will say 43% or something. Is this a battery issue or a logic board issue. it seems like logic board because sometimes its detected other times not and the percentage is wrong. also the charge light is orange sometimes but still charging. If i get the x through the battery and disconnect the cord the machine shuts off. any insite would be helpful.