The present disclosure is directed to a system for the treatment of a sleep disorder through stimulation of the hypoglossal nerve or the geniohyoid muscle of a patient, e.g. a human patient. In general, the system comprises three components, namely a sensing component 50, a stimulation component 100, and a control system 200. In some embodiments, the control system 200 may be embedded within the sensing component 50, or the control system 200 may be embedded within the stimulation component 100.