Detect peripheral turning off from central [SWIFT]

Is there any way from the Central app to detect when a peripheral for example runs out of power and consequently disconnects?

I tried using this: func centralManager(_ central: CBCentralManager, didDisconnectPeripheral peripheral: CBPeripheral, error: Error?) { bleCentralManagerDelegate?.disconnectFromDeviceBLEResult(result: true)}

But this event gets called only if the peripheral requests an actual disconnection, and does NOT get called if the peripheral randomly turns off.

Thanks