dynamic brightness for button backlight
thanks to faux123