Sometimes it gets tiring every time you take your cell phone out of your pocket or place it on a surface to have to press the button to turn the screen on, but there is a method of doing this without having to press anything, just using the sensors.
To do this you will need the application Gravity Screenย available at the end of this post for download.
Once you've installed the application, it's very simple to use, just open it and activate the necessary permissions, after which everything will be working normally, just use its functions.
The application has several settings that can be changed, if you want to understand a little more about this watch the video below: