its the constant control module, about 300 bucks to find and install, had the same problem with mine, probably have to buy from dealer. My car would keep charged for about twenty minutes and then it would die, it did however keep a charge when driving. I'm almost guaranteed it is in face the Constant Control Module, also check scrap-yard, might find one for cheap. dont pay more than 15 minutes labour if you get smeone else to change it. its kinda attached to the battery. also when you turn off you car, listen to see if anything is still running, for me it was the fan. thats when i knew for sure.
Adam
January 2008