Actually the alternator could be the problem.
The Klima relay (compressor control) will shut down the compressor for a number of reasons. many not specifically spelled out. It has been suggested in discussion that the relay will also protect the battery by shutting down the compressor.
Since the alt is required, fix it and see.
Bosch Master, ASE Master, L1
33 years MB technician