To start, run gnome-control-center --verbose power
in the terminal and see what it outputs.
If you're on Wayland, switch to X11 and see if the problem also occurs.
Check: echo $XDG_SESSION_TYPE
And search through the logs. E.g:
journalctl -b | grep -i "power\|battery\|upower\|gsd-power"
journalctl -b | grep -i "gnome-shell" | grep -i "error\|critical\|warning"
journalctl -p err -b
dmesg | grep -i "error\|fail\|critical\|power"
But don't paste long logs here, use some pastebin and paste the link here. Maybe someone will review them. 😉