It seems that they 787 may have RC copter / Cell Phone 'LiPo'. That is a brave engeering team to put LiPo in an aircraft. I guess they think if they can do Level A SW for FBW so they can Level A software to protect from battery chemistry. How about door to drop the battiers out the bottom of the plane when they get to hot!
From Wiki -
Chemistry, performance, cost, and safety characteristics vary across LIB types. Handheld electronics mostly use LIBs based on
lithium cobalt oxide (LCO), which offers high energy density, but have well-known safety concerns, especially when damaged.
Lithium iron phosphate (LFP),
lithium manganese oxide (LMO) and
lithium nickel manganese cobalt oxide (NMC) offer lower energy density, but longer lives and inherent safety. These chemistries are being widely used for electric tools, medical equipment and other roles. NMC in particular is a leading contender for automotive applications