Researchers have developed an ingestible smart pill that activates only after reaching the stomach, confirming medication intake, and addressing a major cause of treatment failure.