So I know nothing about your computer..and I don't know if you are still having problems. I had the same problem, my computer would dim every time I would go to a darker image. I was getting so frustrated with no solutions anywhere.
Well anyways, I found the answer for me was to to into the Intel Graphics and Media Settings. Under Power there is a setting for on battery. That was set to Display Power Saving Technology. I just unclicked that and now my computer doesn't dim anymore.
It's crazy all the places on Windows that controls a power and brightness setting. I found this after days and days of searching.