to provide a device for inflating a container or a floating body , more particularly a life jacket , with the aid of a cartridge filled with pressure gas , which device comprises a releasing mechanism being independent of a tablet and being easily ready for operation , allowing a flexible operation and permitting an easy adjustment of the delay time in the case of release , it is suggested that , in said releasing unit , said first means comprise a sensor which transmits an electric signal and that said second means comprise an electrically controllable locking means which , in the operative state , holds said retaining element in the retaining position and releases the same in the case of release .