Lithium ion batteries consist of three main components: the cathode, the anode and the liquid electrolyte. In order to ensure high quality, the amount of water inside a battery must be as low as possible and each component needs to be tested for water before it is built into the battery housing.
This white paper from METTLER TOLEDO discusses the determination of water and hydrofluoric acid content in the main lithium ion battery components.