if it went flat sitting in the bike you need to check for a current draw with the ignition off. get a multimeter that has milli amps, disconnect the battery positive lead and fit the multimeter clamps between battery and lead. it'll give you a current draw reading. the reading will spike with the immo light on the dash flashing to over 10ma, and it'll have 1 or 1.5ma (ish, i forget now) constant draw due to the ecu. 6ma will kill a battery pretty quickly.
when you first connect the multimeter it'll have 60 or 80 ma or something like that which is the dash activating itself. once that is over it should drop to the 1.5ma and spiking.
when you first connect the multimeter it'll have 60 or 80 ma or something like that which is the dash activating itself. once that is over it should drop to the 1.5ma and spiking.