How to draw a circle with the evolution of the battery?

I am interested in being able to generate a circumference that is reducing as well as the battery. But I am not referring to the radius of the circumference, but to its layout, so that at 50% of the battery, the circumference would only have half visible.

It’s possible?

Thanks in advance