I´m not sure if this is so much an issue with the bike, but more an issue with the battery. The battery might be old and not able to keep a charge anymore. Your best bet is to get a new battery, and check to see if the problem continues, and it´d also be wise to get yourself one of those battery tenders.