Unable autobrightness

Autobrightness work only when enable "Light sensor filter" and "Allow light decrease"
in "CyanogenMod settings" - "Display" - "Automatic backlight"