add debounce to voltage monitor