xenon height controller

I turned on my xenon light and then the light was all down. I turned off the xenon and then it was back on again. Later the same thing. But then I turned off the main light again and then the xenon light was back on normal height. What can that be? Drive a S 80 Premium A bj. 2004 Caputt is there less I think. Gruss jimmy