You could connect the led to a capacitor, which would be charged when camera is connected to power, and would discharge powering the led for a few more seconds after power is disconnected.
But yeah, I wouldn’t trust a led, because I can’t reverse engineer the circuit that’s in my particular device.