Chosen Solution
I have a Macbook Air A1466 (mid-2012). Looks like it’s working fine, but after some time using it (can be one day, or just one hour) it turns off and won’t turn on again for few hours. Everything looks fine with it, except for this problem, that turned it into a useless notebook. Power adapter looks like working fine (battery charges and discharges normally). I already tried to reinstall OS and change power adapters. Follows attached the Coconut Battery information:
The built-in diagnostic shows me the error PPT004, but I read that it shows this error for non-apple batteries… I replaced the battery recently and was working fine. What could be wrong with it?
OK, the battery looks healthy! As far as PPT004, this often is related to SMC needing a reset after a new battery. Lets give this a try, follow this guide to disconnect the battery go to Step 3 MacBook Air 13" Mid 2012 Battery Replacement With the battery disconnected press and hold the power button for 15sec to fully discharge the logic board, now plug the MagSafe charger in, the system should spontaneously restart, let it finish booted and then do a proper shutdown. Reconnect the battery and restart the system give it a good 15 mins to let the systems settings to reset, then restart and run the onboard diagnostics again did that clear the PPT004 error? Update (08/23/2022) Sorry we need to start replacing things to fix this system. I’m suspecting your trackpad is the hot issue MacBook Air 13" (Mid 2012) Trackpad and here’s the MacBook Air 13" Mid 2012 Trackpad Replacement guide. I think you have a moisture issue which is what is messing you up. I would inspect the logic board as it might also have some corrosion as well.