I had this problem a few times, and was forced to buy a new battery.
Now if the car will be idle for more than two weeks, I connect a CTEK Multi-US 7002 charger directly to the battery in "supply"...