add battery monitor