


You’ll need a new battery follow this guide MacBook Pro 13" Retina Display Late 2012 Battery Replacement its a bit of work so be sure you can do it.

If they are the issue is the battery pressing on the top case from below. Take it out and quickly turn it on, see if the keyboard and track pad are working. Place the laptop into your refrigerator for about an 2 hours to drop its temp. To test for the battery problem, put your laptop into a plastic bag making sure to pull out as much air out as you can. The last possibility is the battery has swelled pressing from under the keyboard causing it to fail.Something was spilled into the keyboard and it took a bit of time to damage the connections.The keyboard/track pad ribbon cable from the top case is not seated correctly into the logic board connector (or damaged).
