If you've ever had to fly with (cordless) power tools the rules allow this but the batteries must be in carry on and not be in the checked baggage (the tool itself must be checked!) and there's a limit on the max battery size (160 Wh), although I don't think there's a limit on how
many you can carry-on.
For example, with DeWalt 20V batteries, 160Wh is an 8Ah (which is one of the larger sized batteries), but if you have 60V FlexVolt tools (circular saw) you are probably out of luck as they start around 6Ah (and @60V, 160Wh is only 2.6Ah), going up to 15Ah (which would be 900Wh).