A battery-like device could act as an artificial synapse within computing systems intended to imitate the brain's efficiency and ability to learn.