Same exact problem with me. Brand new iPhone XS Max, screen gets really dim for no reason. True tone is off, night mode is off and auto-brightness is off. Still extremely dim. If you take a screenshot the screen flashes to the highest brightness setting and the difference is very noticable. I erased my phone and reset it and that fixed the problem for about a day and now back to a dim screen at full brightness again. Talked with apple support and they were absolutely no help at all. Not sure if this is a hardware problem or a software problem but it’s extremely annoying for this to be happening on such an expensive phone.