Brightness not decreasing in leagacy boot mode

So, I’ve tried Lubuntu, and Zorin, and now I’m on Fedora and now of these OS supported adjusting brightness when I boot in legacy mode. But when I’m in UEFI it works fine. And before on Zorin I was able adjust using “xrandr” but in fedora even that is not working. The problem my battery is damaged and do not charges and my BIOS battery is maybe drained out(if there is any because I’m unable to locate it.) And whenever I shut-down and plug-out my bios resets and goes back to default which is set to boot in legacy. So is there any way to adjust brightness in legacy mode? Or just change the bios default setting and set it to boot in UEFI mode? I still don’t know much about.

So far I’ve tried Xbacklight but it says

xbacklight -set 50
No outputs have backlight property

and xrandr just don’t work anymore don’t no why? Please help me, my eyes hurts alot. I’ll change battery later but for now I want some way to adjust my brightness.

It’s a HP laptop and really old model - 15-d900tu with 500gb HDD and Intel pentium 1.99ghz cpu and I guess it has integrated GPU. And It’s fedora 40 and I haven’t done much with settings other than customizing.