KDE power management not detecting when laptop is uplugged

Hi there, I have been using Bazzite for a while now on my ASUS TUF F15 laptop, and it has amazing for gaming, however I have been encountering an issue where KDE power management does not seem to update whenever I unplug my laptop from the AC power. Instead, the battery icon still shows that the laptop is plugged in and no custom power saving setting in KDE power management are enabled. I ran journalctl -f in the terminal and found that there are errors which occur when unplugging which I do not know how to fix. I was wondering if anyone could help solve this issue?

Here is the output of the command:

Jun 28 11:41:04 fedora (udev-worker)[15399]: BAT1: Process '/bin/chmod 666 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/charge_control_start_threshold' failed with exit code 1.
Jun 28 11:41:04 fedora (udev-worker)[15399]: BAT1: Process '/bin/chmod 666 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/charge_start_threshold' failed with exit code 1.
Jun 28 11:41:04 fedora (udev-worker)[15399]: BAT1: Process '/bin/chmod 666 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/charge_stop_threshold' failed with exit code 1.
Jun 28 11:41:19 fedora (udev-worker)[15409]: BAT1: Process '/bin/chmod 666 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/charge_control_start_threshold' failed with exit code 1.
Jun 28 11:41:19 fedora (udev-worker)[15409]: BAT1: Process '/bin/chmod 666 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/charge_start_threshold' failed with exit code 1.
Jun 28 11:41:19 fedora (udev-worker)[15409]: BAT1: Process '/bin/chmod 666 /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT1/charge_stop_threshold' failed with exit code 1.