You need to get a battery tender and keep it on the bike when it's parked for the day in your garage .
Batteries don't like to be sitting discharged for any length of time, it will lead to a shortened service life .
If it's a serviceable type battery, you need to check the fluid level in the cells on a regular basis, a low fluid level in just one cell, will damage the battery and again cause a shortened life .