Light can hit a lead halide perovskite crystal that is anything but pristine and still end up as useful electric current.