initial commit of battery indicator.