Self-inflating mattresses have built-in pumps that either work on batteries or can be connected to the power outlet. A pump would deliver the air into the mattress through a special valve, thus making the mattress inflate on its own.