Slanted loader model

I’m trying to create a battery in a format a little more different than normal for example in increasing scale from the smallest point in red and rising to 100% in green.
In a semi-curved format.
Could someone show how to do it?

Just cut out the shape you want and put your battery bar behind it. example:


Could you please tell me how to cut it like this?

Well, that’ll depend which app you’re using for graphics. If Photoshop, then create new layer, fill with whatever you like, select the area you want to cut out and hit delete. Then you can either save as PNG or right click on the layer you made and export as PNG.