How to detect the battery of the conversion device