Not ignoring your WiFi problems, but my phone has never given me any WiFi issues ever.
But, I exercise extreme control over
the when, and
the where it can work.
I do this with one control app called MacroDroid.
=>
* MacroDroid - Device Automation - Android Apps on Google Play
The free version allows for 5 macros that can control a single selection. Even so, the free version can and does (on my wife's SGS5 phone) easily handle your problems.
On her phone, I wrote 4 macros:
Data OFF label
- Trigger: Screen OFF
- Action: disable MobileData
Data ON label
- Trigger: Screen ON
- Action: Enable MobileData
WiFi OFF label
- Trigger: Screen OFF
- Action: Disable WiFi
WiFi ON label
- Trigger: Screen ON
- Action: Enable WiFi
Those four simple macros have performed miracles with her phone's battery consumption.
It idles along for days and days and does not need a charge. I looked at it yesterday 3 days off charge and it was at 84% battery. Her phone does not have any downloaded apps. All useless apps are turned off.
One of these days, when her phone finally drops low enough, I am going to make a screen shot of how long it has been off charge. Going to be at a week more though....
I use the Pro version of MacroDroid on my phone because I want more from it. The premium version can control multiple status points with one macro.
So, on my phone, I have 2 macros to control the radios.
Screen OFF and Screen ON.
each of those will control both Wifi and DATA simultaneously and I get 3 days use per charge cycle.
and that is with me using the phone quite a bit all thru the day looking at it helping folks like you on the forums.
I do the normal telco calls, SMS stuff, emails, news sites apps, GPS mapping apps (my favorite topic) and more. I do not watch videos, nor do I play games with my phone. I just don't like games....
It won't cost you anything...
below is a screenshot of my phone, which most likely will better represent the use most folks give their S5 phone. My wife is the exception. she does not make outbound calls, she only takes them...