Troubleshooting and repairing electrical faults