Correct me if I'm wrong but I think that to what extent the lights are dimmed is specified by the individual airlines SOP's (standard operating procedures).
I have work for several airlines and they all differ slightly, some requiring a total black out and others to dim ceiling and windows out etc.