Invest in a CTEK charger/restorer, probably an MS 7 or MS 10. Then use it regularly, even with a new battery they can save a lot of problems associated with electrical drain. I use mine regularly at least once a month and for a 24 hour period. I now find I get very little irregular and unneeded codes and messages. That is on top of a new and specified battery. Well worth the investment for peace of mind and nuisances.
Best Wishes and Regards, John