In some embodiments, device 110 is a mobile device that is implemented as a smartphone. Other types of devices are within the scope of the invention for device 110 such as cellular phones, tablets, laptops, and wearable devices and contraband detection system 100 includes more than one device 110 that is depicted in FIG. 1. In some embodiments, device 110 is an electronic device that requires charging from an electrical outlet and that has been smuggled into a controlled environment, such as a prison. In some embodiments, device 110 includes components installed by the controlled environment that allow for the management and control of device 110. Examples of components include but are not limited to specialized software that communicates information through power cable 112 when device 110 is connected to power cable 112. In some embodiments, the specialized software is an application that responds to queries from smart power adapter 116, smart outlet 120, and/or monitoring center 130. Responses to these queries include information associated with device 110. For example, the information includes but is not limited identification information that uniquely identifies device 110 such as a randomly generated identifier or an identifier assigned to device 110 and/or a user (e.g., an inmate) of device 110.