Brightness always reset on screen off (suspend, reboot, etc)

Hi im new to linux and want to try fedora. Im using Lenovo Yoga 7 Gen 7 (AMD 6600U with Radeon 660M). Whenever the screen goes off, the brightness always reset and i dont know how to fix it. Anyone know any solution?