add backlight functions for macbook