My cousin has a battery powered small chainsaw.
If you are just going to cut twigs, for a short time, it is ok.
If you are going to cut wood, it will run out of power very quickly.
Put it this way, if you are going to cut long enough you have to refuel , do not waste money on a battery powered chain saw as while you can buy two or more battery units, $$$ then no matter what, you have to be close to a electrical outlet to recharge batteries.
Chain saws drain a battery quickly in standard use.
It is much easier to carry a gas can than deal with battery units.