Automatically set brightness on startup