I think the BMS did detect a battery fault, as there was an EICAS alert to that effect around the time the APU shut down, according to the report.
Shame that there was nothing it could do to stop the battery bursting into flames. I think the alert was shown as: ''GOODBYE AND GOOD LUCK...''