Android Question Screen auto-off vs app minimise


Well-Known Member
Licensed User
Longtime User
I've made this app, its mostly service driven, so when the screen does its auto-off powersave, the app keeps running. This is what I want, but the nexus tab has got a button in between the BACK and RECENT APPS buttons, that makes my app minimise but doesn't kill it.
When this button is pressed I want to kill the process, so really the only time the app keeps running when it's not foregrounded, is when the display turns off to save power.

Is there any way I can catch the press of this button in the Activity_Pause function and deal with it?