ESPhome battery level and consumption

I have a 3V battery connected to my Oled screen that lasts about 55 min.
I tried different methods of getting the battery level to work but nothing works properly.
Is there a way to get an update every 1 or 5 min with a percentage or icon reflecting the battery level?