Added functionality to set the brightness every 2 seconds when the screen is on. I noticed the brightness adjustment resets quite often so this is why it's needed. It shouldn't have any effect on the battery, it only runs when the screen is already on and it barely uses any CPU (less than 20 seconds in the course of a whole day).