Greetings,
My name is Rhaine, I'm Independent Community Advisor. I’m so glad assisting you today
I am also Windows user. Let us work together to sort this out.
You can try to reset the the power plan using the steps in this link.
https://winaero.com/blog/restore-power-plan-def...
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
If issue persist check if the adaptive brightness is turned on or the display drivers are updated.
You can also perform a system restore to go back in time when your pc is working perfectly fine.
https://www.minitool.com/news/disable-adaptive-...
Reset All Power Plans to Their Defaults in Windows 10
Open an elevated command prompt.
Type or copy-paste the following command:
powercfg -restoredefaultschemes
I hope the steps and information above helps. Please let me know how it goes.
With Warm Regards,
Rhaine C.