It uses the ABS sensors in the wheel to detect the rolling radius of the wheels in revolutions per minute. If these increase/decrease, it deems there is a lower pressure tyre, thus enabling the sensor - rather clever little system
Mine did it after about 20 mins when i picked it up - I put it down to the car having new front tyres the day before, and the system not being reset