bug fix when detecting battery info