It uses special candle flickering LEDs.
This is a basic Joule thief circuit. It uses one AA (1.5) battery. When batteries are almost empty. Then there is actually still lot of energy. And it squeezes all energy out of it.
If you stand in front of it, it measures distance between you and displays it.