The logic board contains the most vital parts of the Mac (CPU, memory, bluetooth and wifi modules, etc.). If you had the Mac previously repaired with a major issue, they could have replaced the logic board (aka, motherboard) altogether.
Anyway, you should try the hardware reset steps first. Reset the SMC by shutting down the Mac. Press and hold the power button until it seems to power up and shut down again. Press and release the second time to power up normally. See if that alleviated the issue.
If the problem persists, do a parameter RAM reset. Start or restart and immediately press down the command-option-P-R keys and hold until you get the startup chime again but now hold down the Shift key until the startup completes. This puts you in Safe Mode. It takes longer and extensions will not be loaded. Its function is to clear your system caches. Afterwards, restart in normal mode and check again if the issue was resolved.
One thing to be aware of with a PRAM reset is if you have external SSDs connected to Thunderbolt (as SATA), TRIM will be turned off. If this is the case, I can provide you with the steps to reenable TRIM.