A device for placement within a capsule. The device includes a unit to encode information in a current signature, the unit including a partial power source. The device further including a flexible membrane secured to the unit. The membrane engages the wall of the capsule and holds the device in place within the capsule.