NOVELTY - The device (100) has a substrate (102) comprising a reservoir (104) that holds substances (106). A film (108) covers the reservoir. A charge storage system (112) is connected to the film, and delivers transient electrochemical potential to the film. The film prevents exposure of the substances to an aqueous environment in an organism, while the charge storage system delivers the potential to the film. The film is configured for dissolution to expose the substances to the aqueous environment in the organism after the charge storage system stops delivering the potential to the film.    USE - Ingestible electrical device for delivering a substance i.e. viable bioactive microbial species, to a gastrointestinal tract of a pediatric/adult organism e.g. human and animal, to treat disease of the human. Uses include but are not limited to metabolic and immunological disease, type 1 and type 2 diabetes mellitus, obesity, inflammatory bowel disease and atheroschlerosis.    ADVANTAGE - The device can be orally administered and resided in a gastrointestinal tract for hours, while protecting the substance from a strongly acidic environment in a stomach. The device can release the substance in a specific portion of the gastrointestinal tract in a bolus release manner based on an electronic cue that originates from the device without any external trigger from outside of the organism. The device can safely and effectively deliver viable probiotics to intestines for treatment of diabetes, obesity or through therapeutic microbiota restoration in a cost-effective and minimally invasive manner.    DETAILED DESCRIPTION - An INDEPENDENT CLAIM is also included for a method for delivering biologically active agents.    DESCRIPTION OF DRAWING(S) - The drawing shows a perspective view of an ingestible electrical device for delivering a substance to a gastrointestinal tract of an organism.    Ingestible electrical device (100)    Substrate (102)    Reservoir (104)    Substances (106)    Films (108, 110)    Charge storage system (112)