Battery detection system schematic diagram