the infrared sensor is currently not well researched. We only know that Pokemon B&W check it reguarly and if you return the wrong value the games don't work properly. melonDS and Desmume just give it that certain value, which probably means "I'm working", but otherwise there's afaik not much known.