added an example for low voltage detection