periodic check for batteries