Sounds as if something might be interfering with the Mains supply, though this is just a guess. Have you installed any electrical items in the near vicinity of the PC about three months ago? Or are there any electrical power systems recently constructed near your home? Perhaps you could mention the problem to your local electricity supplier.
iPhone X review