Donīt blame the battery only. Also the surrounding circuits, charging management and software must be rechecked. And here we have the first sign, that it might not be the battery itself causing the failure. Seems that the battery was forced due to high voltage of the plane:
Japan probe suspects excess voltage in 787 battery | Business & Technology | The Seattle Times
Think this is good news, revalidate a fuzzy battery concept needs years. To fix the surrounding power architecture seems to have faster options.