A system comprising: a bed having an air-mattress having an air pressure; a data processing system configured to: sense a pressure readings of the air-mattress indicative of the air pressure of the air-mattress; determine if the pressure readings are below a target pressure value representing a desired pressure for the air-mattress; responsive to a determination that the pressure readings are below the target pressure reading, transmit, to an air-pump (120, 304), first instructions to increase the air pressure of the air mattress; determine a replacement value representing the amount of air pumped into the air mattress by the air-pump (120, 304); compare the replacement value to a slow-leak threshold and to a catastrophic-leak threshold, wherein the slow-leak threshold is a value that represents an amount of air corresponding to a slow leak in the air-mattress and wherein the catastrophic-leak threshold represents an amount of air corresponding to a catastrophic leak in the air-mattress; and responsive to a determination that the replacement value is greater than the slow-leak value and less than the catastrophic-leak value, transmit, to the air-pump (120, 304), second instructions to increase the air pressure of the air mattress to replace air in the air mattress lost to a slow leak so as to maintain the desired pressure for the air-mattress; and an air-pump (120, 304) configured to selectively increase the air-pressure of the air-mattress by pumping air into the air mattress in response to receiving the first instructions or the second instructions. a bed having an air-mattress having an air pressure; a data processing system configured to: sense a pressure readings of the air-mattress indicative of the air pressure of the air-mattress; determine if the pressure readings are below a target pressure value representing a desired pressure for the air-mattress; responsive to a determination that the pressure readings are below the target pressure reading, transmit, to an air-pump (120, 304), first instructions to increase the air pressure of the air mattress; determine a replacement value representing the amount of air pumped into the air mattress by the air-pump (120, 304); compare the replacement value to a slow-leak threshold and to a catastrophic-leak threshold, wherein the slow-leak threshold is a value that represents an amount of air corresponding to a slow leak in the air-mattress and wherein the catastrophic-leak threshold represents an amount of air corresponding to a catastrophic leak in the air-mattress; and responsive to a determination that the replacement value is greater than the slow-leak value and less than the catastrophic-leak value, transmit, to the air-pump (120, 304), second instructions to increase the air pressure of the air mattress to replace air in the air mattress lost to a slow leak so as to maintain the desired pressure for the air-mattress; and an air-pump (120, 304) configured to selectively increase the air-pressure of the air-mattress by pumping air into the air mattress in response to receiving the first instructions or the second instructions. sense a pressure readings of the air-mattress indicative of the air pressure of the air-mattress; determine if the pressure readings are below a target pressure value representing a desired pressure for the air-mattress; responsive to a determination that the pressure readings are below the target pressure reading, transmit, to an air-pump (120, 304), first instructions to increase the air pressure of the air mattress; determine a replacement value representing the amount of air pumped into the air mattress by the air-pump (120, 304); compare the replacement value to a slow-leak threshold and to a catastrophic-leak threshold, wherein the slow-leak threshold is a value that represents an amount of air corresponding to a slow leak in the air-mattress and wherein the catastrophic-leak threshold represents an amount of air corresponding to a catastrophic leak in the air-mattress; and responsive to a determination that the replacement value is greater than the slow-leak value and less than the catastrophic-leak value, transmit, to the air-pump (120, 304), second instructions to increase the air pressure of the air mattress to replace air in the air mattress lost to a slow leak so as to maintain the desired pressure for the air-mattress; and an air-pump (120, 304) configured to selectively increase the air-pressure of the air-mattress by pumping air into the air mattress in response to receiving the first instructions or the second instructions.