When may your landlord be responsible?
Landlords must keep relevant electrical installations in repair and ensure rented accommodation is safe. The appropriate response depends on the hazard, but immediate risks should not be left awaiting routine repair times.
Responsibility depends on the cause of the problem, the terms of your tenancy and whether the landlord had notice and a reasonable opportunity to investigate and act.