I've recently installed Avast Battery saver on Samsung S7 and have had a issue with wifi being turned off automatically when the phone is locked, then re-activates when I unlock the phone.
I have disabled all of the 'profiles' as I don't want these
What other settings are there as I think I'll soon be uninstalling the app as it's stopping important messages being received