Backlight flickering at low brightness levels
You could try this fix


  Those running the cynogen mod on their HTC Desire and experiencing problems with auto adjustment of brightness would be happy to hear that a fix has been developed to tackle it.


If it doesn't work you could try another rom to determine if its a software or a hardware issue.