I can't help but I think if you provide some more info, you might get some other ideas and more help.
For starters, which year model KLR 650 and in which part of the country are you?
Also follow the negative terminal to where it is attached to the body / crankcase cover and check for obvious issues. I've had a similar issue but not with a Dakar.
I'm not affiliated, but sold an old '82 to the shop a year ago. Very friendly service and they have loads of parts for these old bikes.
https://www.alloffroadsa.co.za/