This problem usually occurs when the laptop is plugged in, while the FPS is capped at 30 when it's unplugged. To address this, you can either check power settings, ensure proper cooling, consider power adapter limitations, or you can also try to update the BIOS and drivers, and review power management settings.
Hope this helps!
PC Hardware Specialist