It's probably not your car,
It's probably not your car, but the problem is your battery. The Subaru battery is junk. Mine went out after 1 year and the second did the same. They did not give me a new battery, do after the 2nd one went bad, I went to Auto Zone and bought the best battery they had for my car, also a 2017 outback. I gave the guy 10 bucks and he also tested my charging system, and that was fine. So far, no more battery problems. Just knuckle under and buy a new battery, NOT from Subaru, and you'll be fine. Good luck