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!

1 Like

Have you got any solution? Thank you.

can you try this https://github.com/8bhsolutions/cordova-plugin-power-button-listener