Perovskite self-powered broadband photodetector with reduced lead toxicity can help sustainable energy