Hi from one newbie to another i was just asking the same questions as you last week. My battery went dead, it was only 2 weeks old. I found out a few things contributed to this.
1. I was riding around in 100 plus degree heat. This will kill your battery, and dry out the water in the battery.
2. I was riding around town, or in parking lots trying to get use to the clubman handlebars i just put on, never really even getting into 3rd gear. This will drain off the battery. You have to get it up in RPM's over 3000 ive heard before it starts to recharge the battery.
3. I was working on my bike alot, so about twice a day for 2 weeks i was starting it up, and idleing it for about 10 minutes a day. This was also draining my battery.
Basically, what i am going to do is buy a battery tender, or whatever they are called. Whenever i park my bike at home for the night, hook that up. It will keep the battery charged when im not riding it, but will not over charge it.
I thought that bikes were like cars, but i guess not. The batterys go dead easy, unless your riding it every day on the freeway, or at least most of your drive is over 40mph.