Background mode not work when i press middle button android

Hello good day! my problem is that I have installed the background mode and background geolocation plugins and it works only when I lock the screen of the blocking button, but when I touch the button to return to the desktop the app stops updating the location. Does anyone have any idea what may be happening?