I had the same problem on my 2007 ktm 990 adventure. I had the stock battery and if I did not ride bike for a weak the battery was dead or weak .
I Bought a new battery and bike would not start. New battery was junk. So just because battery is new it could be bad. When you buy new battery have it checked.