increase during charging or discharging, which is generally consistent with the current knowledge at the qualitative level. This validates our method's applicability for in situ analysis of gases within the battery, laying the foundation for future elucidation of the mechanism of battery failures based on gas analysis.