battery getting drained while driving

Lack of details. "While driving" ??
The charging system may be keeping up when idling in park then loosing while idling in traffic due to lower rpm. Good luck with it.