Electrical maintenance work was being performed on an elevator just hours before it malfunctioned,…