I have mostly had the switch for closing cover gone bad so not looked closer on the circuitry behind that but the switch might lead to a circuit that is powered with one of the faulty rails and therefor not working correctly, so fix the rail might "fix" the cover....