Checking the battery charge level