Black screen: is it the fault of the APIM or the battery?

What APIM is in the pictures?
If this is the original you could try to upgrade the firmware to the latest revision for the unit, -CCM, or you could update it to the MY18.5+ version.

APIM Firmware Production Releases - Ford / Information - CyanLabs Official Community

The way it acts in sounds like a hardware issue…