Implement brown-out detection to avoid glitchy behavior when powered on with insufficient battery voltage.