A pain management kit for the administration of medication and a related method of use is disclosed. Time-stamped location information is collected for a mobile device and a dynamic geo-temporal model is constructed and updated when new data is collected according to a sample design. The first node may observe one or more conditions in at least one of the communications network and the first node and select a sleep mode of a group of sleep modes based on the observed one or more conditions.