I just increase the time for screen to auto sleep to 2 minutes.
I did increase the screen timeout from 30 seconds to 1 minute, which makes the broken auto-dim less of an issue, but it would still be great to have it working again.
Try customizing the settings in Settings - CM Settings - Display - automatic backlight - Use custom - Enabled & Edit other levels
I did try setting up my 3 levels, for: Total darkness (or close), Bright sunlight, Everything else, which would work great in theory, but I've discovered that my phone's sensor sometimes, depending on phone position relative to light sources, goes to the minimum 1 lux value even when the room is reasonably well lit (even with no case on the phone), so I can only really set up 2 of my desired levels for automatic control: Bright sunlight (somewhere like 800+ lux per my phone), Everything else, and I'll have to manually set the phone lower when I'm in total darkness.
Any idea if the light sensor can be made more sensitive as the low end?