Ancient Weapon Update
Ever heard of a macuahuitl? https://en.wikipedia.org/wiki/Macuahuitl This was popular among indigenous people of (now) Mexico and South America. It's somewhere between a mace and a sword: carefully arranged bits of sharp rock embedded in a stick. Modern materials could update this to make a more deviating, electric, anti-personell weapon.
For energizing: each of the blades could be made of metal and act as a "plate" of a capacitor, allowing a shock to be delivered when two "plates"/blades make contact. If only one blade makes contact, the electricity may travel through the target to ground. Both of these behaviors can be desirable. (Bonus: modular blades make repair and sharpening easy!)
This shock need not be lethal in itself: it merely needs to distract or stun the enemy for a short time. Fencers and martial artists know that even small distractions can be the difference between beating the enemy and being beat. Should the target spasm or be distracted by an arc, this could open up the opportunity for a follow up strike.
Armored opponents or opponents who block still run the risk of being shocked, as any electricity from this macuahuitl will attempt to "go to ground", potentially right through their bodies! As stated before, this could cause them to spasm, giving an opening for another blow.
Obviously, the main counter to any electrical weapon is to simply be non-conductive. Polymers and composite shields would be required to prevent most effects of this electricity. This could be as simple as a wood shield (or clear riot shields), but a heavy macuahuitl could penetrate more than a simple mace or sword.
What About Weight?
Additionally, the overall weight of a weapon takes a back-seat to the balance of the weapon in terms of "performance". Obviously, there are limits here on overall weight. Too heavy and it is too slow for combat. Too light and it is difficult to do harm. Hand weapons within these bounds can sit somewhere on a spectrum from "be fast" to "hit hard".
Embedding batteries into the grip/hilt/pommel would likely cause the least amount of problems for weapons in the "be fast" end. (Spears, thrust-optimized swords would fall into this category.) More batteries, and more mass away from the hand would help the "hit hard" kind of weapon. (Maces, clubs, cut-optimized swords). This is a matter of personal preference, user strength, and weapon design.
Macuahuitls, as far as I can tell, are a bit closer to cut-optimized swords. Placing batteries near the hand and into the body of the weapon would be ideal, although one would have to be careful to design proper covers which can take a beating.