This is an idea that entered my mind. As far as I understood lithium ion batteries still need oxygen from the air to burn.

They don’t provide their own oxidizer IIRC but they do reignite when left to dry because they rapidly build up heat again. Please correct me if I’m wrong.

Would it make sense to have a lithium ion battery inside an airtight enclosure and filled with nitrogen? Should a battery start to vent it will replace nitrogen with whatever solvent fumes come out but they won’t come in contact with oxygen until they’re far away from the heat source.

Is this a silly idea?