Added a battry monitor