When encountering problems with the sound output on battery, for example clicking noises, try to increase the timeout
SOUND_POWER_SAVE_ON_BAT=10
or disable power save completely
SOUND_POWER_SAVE_ON_BAT=0
See also
Audio Settings.