You may well take the line that you shouldnt have to do this, but put a digi volmeter across the battery terminals when you are running the engine. If your alternator is trying to charge, the voltage should rise initially to something above 14 v settling back after running for a while (take the bike for a ride rather than run the engine stationary) to something in the 13.4v region. If the voltage stays resolutely below 12.7 then the alternator isnt charging. If it does go up to 14v and then fall back, likelythe battery is duff or you have resistance in the battery or terminals that is causing current flow to be restricted.
Apparently, if you dont use the steering lock you can flatten the battery that way since it leaves the canbus live.