A "Phosphoric" material, which can preserve light fallen onto it, and which will continue "glowing" in the dark, but losing brightness slowly over time. After emitted all its preserved light-energy, it will become black.
A button in Materials or Physics with adjustable "max. energy" and "half-life" (how long it takes to lose half of the preserved light energy.