The regulation is about bombs, not batteries. There has been a report that would-be bombers are using stolen (?) airport screening equipment to develop undetectable bombs.
I’m not sure how effective this ban can be, but I assume there’s recent intelligence that prompted it.