ok, ive never posted on any forums before but here goes. I have the s5 a love most of its features, however I work construction and alotnof the time when im moving around and that phone moves in my pocket, it proceeds to turn on every game and flashlight and call 4 countries all at the same time so my battert dies within a couple hours.
My Solution: Short of rooting, I garantee this is the best option, use Macrodroid, creat a macro (trigger> shortcut launcher)(action> screen off) with no constraints. some launchers allow you to creat shortcuts based from other apps, nova launcher is the best option for this. so go into (nova) launcher settings, and where it wants you to set an action for the home button, use the macro by selecting shortcut> macrodroid>(whatever you named your macro). that should cut the screen off when you press the home button at the home screen or if it keeps turning on in your pocket, the button is the most raised part of the face of the phone so it has the highest chance to be pressed over and over as you walk or lean down for things. this will basically tell the phone to turn its screen back off. lock screens still allow you to **** dial your emergency contacts so deal breaker for me. this is the best possibly fix for this so far that im aware of.