Chemists develop a new technique for observing chemical processes during battery operation.