Do yourself a favor and swap all your batteries for the M18 18V 12.0 (ah) Red Lithium Forge HD.
They are not cheap but your tools will love you and you will thank me later.
I run one of their roto hammers and before these were even released (make sure they are the "cooling" ones with the slots on the bottom), I was using all type and sizes of batteries. I think they have the standard XC, then they released HO, then they presented their Forged series but when this 12.0 came out, it made all the difference in the world.
Before, my hammer would cut out; thought it was due to ambient heat (which very well could be, plus I'm ripping up pavement that's 140 degrees or drilling through concrete) and it would loose significant power as the battery would drain. With the 12.0, that tool is giving you all it has and doesn't skip a beat. They also seem to run forever. I seriously replaced 12 of the XC 5.0 for two 12 ah Forge HDs in simple terms. They do take a lot longer to charge but they also last 5x as much and they DO NOT get hot, unlike the other battery types.
Regardless of the tool, as long as its an M18, all it sees is the HD12.0 nowadays.
I used to rebuild the XCs when they would no longer charge, now they're just sitting in the drawer looking for a dumpster.
For anything else, the M12 is adequate.