I had this on a mid-2012 MBP (bought new in 2015). Somewhere around Apple's 4th or 5th repair of the machine. Replacement logic board didn't solve the issue, but it sure made macOS complain loudly that my machine appeared to have been stolen.
(Real problem was Apple's flaky SATA flex cables, notorious for breaking on this model. Been replaced 6 times by Apple. I still have the machine - I'm typing on it now - but I do my own repairs. And of course I switched years ago to Windows on a Thinkpad X1 as my daily driver after that Apple experience.)
(Real problem was Apple's flaky SATA flex cables, notorious for breaking on this model. Been replaced 6 times by Apple. I still have the machine - I'm typing on it now - but I do my own repairs. And of course I switched years ago to Windows on a Thinkpad X1 as my daily driver after that Apple experience.)