DELL XPS 15 9570 excessive fan noise (fixed by `powertop --calibrate`?)

I’ve recently installed Manjaro i3 edition, and my laptop started making excessive fan noise. I don’t know if it’s the CPU or GPU fan, but it never stops. I disabled nvidia GPU and I’m using the integrated one.

Interestingly, if I run powertop --calibrate, it somehow fixes the noise. I don’t know if it has any side effects thought – e.g. whether or not CPU runs too high after powertop --calibrate.

Any tips on how to diagnose and fix the issue?

Update: just tried to build (compile) a few things and it seems like fans are working as expected after powertop --calibrate.

It seems like powertop --calibrate is doing something right, and I need to make it persistent somehow.

Another update: it seems like sudo tlp ac starts spinning the fans. sudp tlp bat “fixes” it again.

Also tried this: after restarting the system, if I unplug the power the fan noise stops. When I plug it back it starts again.

It seems like it’s the “Runtime PM for PCI Dvice Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16)” entry in powertop.

No idea what that is, or how to make this setting persistent…