Randomly max brightness when display gets turned on after inactive off?

I opened this topic a while ago but I’m running GNOME.
Issue seems to be fixed for me since about a week so could be a kernel thing? on 6.17.7 now and no more full screen brightness issue on my laptop