I trigger recording when power of current sample is X dB greater than last Y samples, what is the terminology here?
"Running average" is fine. You can also call it the moving average.

I suppose you could call the variable associated with the 10dB number the signal detection threshold.