The following accident investigation was performed by the Australian Transport Safety Administration regarding a thermal runaway and aircraft fire in a Jabiru J170 airplane. The report is worth a read, and brings up some things to consider regarding using lithium batteries in our planes.
https://www.atsb.gov.au/publications/oc ... -2018-124/Reading through the report, two conclusions come to mind. First, lithium batteries are not tolerant of deep discharge. Should this happen, there is a good possibility of cell damage that will permanently alter the stability of the battery, even if it doesn't kill it outright. I think a pilot would do well to be suspicious of a "rescued" battery, and at the first sign that the battery was no longer performing as expected should retire the battery. The risk of fire just isn't worth it.
Second, the internal cell chemistry that makes lithium so good at delivering large currents, means that they can potentially place a huge strain on the engine alternator (for us, typically permanent magnet alternators like the Jabiru and AeroVee use). This unusually-high demand on the alternator might damage the regulator, causing excessive charge voltage. The instruments in you panel will probably be OK with 15 volts from the regulator, but your lithium battery will absolutely not handle it. That's what happened in the J170's case, and the over-voltage condition initiated the thermal runaway, an inflight fire, and near fatal emergency landing. It happened so fast the pilot barely got the plane to the ground, while his clothes burned on his body, then jumped out while the plane was still airborne. Scary stuff. Over-voltage protection (crowbar type) is a must.
It's important to point out the brand of battery this pilot was using (Deltran) was not EarthX like we typically use, and may not of had any built-in battery management system (BMS) to prevent over-discharge or excessive charging voltage. Those features certainly will help prevent massive abuse, and I personally wouldn't consider flying with a lithium battery without a BMS. Even so, I wouldn't fly behind a lithium battery of any variety without a crowbar OV system installed in the plane.
Once upon a time lead acid batteries had a problem with exploding, but that got sorted out. Now they are so good we can abuse them to no end, and they just keep going. Lithium batteries are getting better, but they still need a delicate touch and a bullet proof electrical system. If you're going to use them, you need to do it right.
Jeff