Listen to power button pressing

Hi, is there any method for handle power button event?
Similar to

this.platform.registerBackButtonAction(...)

but without preventing its normal function.
Imagine as background app wich count each time user press power button.

Thank you!