The bike's alternator doesn't make enough power at idle to run all the electrics, and relies on battery storage to keep things going. When the engine revs up past 1.5 -2K it should make enough power to run the electrics and charge the battery.
It's best to use a fully charged before starting and just use the bike to maintain it during driving.
Also, the stock headlight is 40/50w. Is your replacement headlight of a higher wattage? If so, your weak battery will drain even faster at idle. And, the engine speed to charge the battery will need to be even higher.
There was no Headlight/Running light switch for the 78 model. Always on with the ignition key on.