Laptop Nvidia Gpu frequency locked to 33mhz after unplugging from power

Thank you so much for the pointer,

I was able to set the performance state to P0 with:
$ nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1

i also tried 0, 1 and 2
but it had no effect on the gpu clock-requency