Don't use any 3rd party battery optimization applications as they're adware and not even worth of having them installed on your phone.
You can optimize your battery's life by going into settings -> device care -> then tap on "Battery" icon -> from there you can put apps to sleep when not in use. This procedure can make phone's battery last long enough than usual.
P.S only use battery saver mode when you're traveling and on a specific low battery level, don't use it on the casual usage. Try charging your phone's battery to 80%, well having it 100% is not bad either and finally don't let it die out on 0%.