BEEPSTATE L is probably safer, in case you forget to re-edit the file once issues with the mains are resolved. It will still mute the beeps, but reenable them when the battery is nearly exhausted.

Cheers