A power adapter configured to apply power to a device is disclosed. The power adapter comprises a switching module having a recess comprising a first set of contacts for receiving control signals, wherein the switching module comprises a switch for selectively applying power to a device based upon the control signals; and a control module removably coupled to the switching module and having a second set of contacts coupled to the first set of contacts of the switching module when the control module is attached to the switching module; wherein the switching module comprises a user interface element.