Oh yeah.
Get an Optimate.
Spend 10 mins fitting the supplied cable to the battery, and then it's the work of a moment to plug the charger into the little socket every time you park your bike.
My BMW chap tells me that 2 years is an 'OK' time for a bttery to last, but if you plug in an Optimate every time you park it in the garage, the battery can last for much longer