An implantable pulse generator (IPG) includes a respiration activity sensing unit configured to generate a signal representing respiration activity, a stimulation unit configured to generate nerve stimulation electric pulses, and a control unit configured to trigger delivery of the nerve stimulation electric pulses via a stimulation electrode on a stimulation lead connected to the implantable pulse generator. The triggering of the stimulation pulse delivery depends on the signal representing respiration activity.