How to determine if the power supply is faulty