I'm not much of a mechanic; but I am a battery guy... If your charging system is weak, the load of the bike running will draw the battery voltage down; and slowly discharge the battery.
Check the connections, looking for corrosion... discoloration from hostspots or high resistance when you...