With lithium ion, cordless stuff has come a long way. Even stuff that is traditionally gas powered. I even have a battery chainsaw now. I don't use a chainsaw often enough to justify a gas one and messing with mixing gas/oil etc only to have it sit most of the time.
I cut down this tree with it.
Well almost, this is where I finished:
The bar was not big enough for the trunk and that one major branch I decided to leave for an arborist, it was more sketchy to do than it looks in the pic. In theory though the rest of the tree could have been done with a slightly bigger chainsaw for trunk and a bit more risk taking for that branch. I was using a Ryobi 18v which is on the lower end of the spectrum. I also did not realize how tough that wood was until I started to cut birch with the same chainsaw and it was going through like butter.
We are starting to see more yard tools in general switch to electric which is cool. They even have electric snowblowers now, they are not as good as the gas ones yet but mostly because they use lot of plastic components.