I suspect that once there's a better battery technology, maybe lighter lithium-iron-phosphate or a noncombustible solid battery, the current lithium ion technology will be prohibited on aircraft.
[1] https://edition.cnn.com/travel/article/boeing-787-dreamliner...