Is it possible to power banana pi zero m2 with battery?

Hello ,

I have Banana pi zero M2 and I would like to power it using a battery, I’m not talking about external battery (power bank) but it’s about an intern battery.

What I need also is to know the level battery (via python code).

Is it possible ? if yes what kind of battery can I use ?