Hello @PharaohG,
I did prepared some basic coding for battery as you describe it. Please try to check this link.
General coding explanation could looks like this.
Have a lot of fun creating new watch faces