[Solved] FPS counter capped at 30fps

I put a script to count the FPS, it was working fine (60 fps) but after I moved the project to my laptop it’s capped at 30fps
the fps counter from stats is ok but the fps counter from the script is always capped at 30fps, the game also runs slower. I’ve tried disable vsync and use the Application.targetFrameRate = 60; but it’s still not working

any solution for this?

Is your laptop just not powerful enough to run at 60 fps?

yes that’s it, my bad
seems like it was on battery and it was conserving power, charged it and everything works out
it’s really weird though, cause it’s capped right at 30fps
anyway it’s solved thanks for your time

oh i was wrong, it’s nvidia geforce battery boost feature
it’s limiting all games fps to 30 when on battery, go to nvidia geforce settings and disable it, it’s all working good on battery now