Added support for GPIO and alarm system for low battery.

Everything works!! (except alarm disable button)