The NTSB has done a nice writeup.
The APU shutting down when its starting power supply goes down, the smoke evacuation being linked to the equipment on fire, the lack of diagnostic NVRAM are all systems integration issues.
The battery technology is in the end minor and easy to change, give or take the weight of a passenger, but it is to be feared that similar integration issues pervade the rest of the plane's design.