lightum icon indicating copy to clipboard operation
lightum copied to clipboard

don't work in dark rooms

Open clausmuus opened this issue 12 years ago • 1 comments

I use a MBA 5.1 and have a problem in dark rooms. If there is to less light in the room, lightum don't work correct. It seems, that the sensor detects the screen light, that reflects by the user who sit before the Mac. So the sensor detects a bright room and rise the screen light. In the next step, the sensor detects more light and rise the light again. In the result I get a very bright display. A second problem occur, if there is only a little light in the room. In this case the brightness switch continually between two steps.

Do you see a change to fix this?

Claus

clausmuus avatar Aug 05 '12 12:08 clausmuus

You can change the minbacklight / maxbacklight parameters in the configuration file, if you put a smaller range there will be less steps and you'll experience less switches between steps.

If you don't want to change the min/max backlight values, you can also increase the MAXLV define (lightum.c line 30) to control hysteresis.

poliva avatar Aug 06 '12 09:08 poliva