A device that could produce any amount of electricity at night would be valuable; after the sun sets, solar cells don’t work and winds often die down, even as demand for lighting peaks.