My small apartment sized refridgerator keep shutting stale. what is a ptc switch? for some reason my fridge will run into defrost and then...

for some reason my fridge will run into defrost and then it in recent times won't get cold again. The compressor get warm but inside does not procure cold. The last time this happen i took it in the house and plugged it contained by and it worked just fine. Could running it surrounded by my semi truck off an inverter be the problem?
Answers:    After the defrost cycle the compressor requirements to run a while to get everything final to temperature (or should I speak cold). It is probably pulling more current than at other times or pulling a higher current for a longer term of time and your inverter can't keep up. Check the inverter output for low voltage when this happen.
A PTC switch is a protected termination resistor (I looked it up). Google PTC switch for more information.
he lll yes