MInecraft - fps issues?

Alright so, I just installed Minecraft into my new gaming laptop. It seems to be that I get about 200 fps when it's charging. When I'm not, it gets 30 fps. I was messing around and I found this option in nvidia control panel saying "Power Management" I put it as maximum, and other games work faster now without charging. MInecraft is still stuck at 30 fps.

Lower the chunks or the video quality

Honestly I don't really know what could be wrong, just make sure its well charged, maybe lower some of the graphics settings, and make sure youre not running any other programs while playing minecraft and see if that helps, either than that I don't know