Solar cells generate electricity by absorbing sunlight in a thin layer of perovskite, a light-absorbing material. This layer ...