Adapt backlight fix from Cyanogenmod.