Once you have an image to use, open the “Applications” folder in Finder ... Drag and drop the custom icon image on top of the icon in the left corner. You'll see a green (+) icon appear ...
And when the battery level is more than 75%, a green color battery icon will be visible, and so on. Though there is no built-in option in Windows 10 to set custom battery percentage icons ...