handling brownout interrupt