Charged Weapon (5e Equipment)
From D&D Wiki
Weapon (any), common
Charged weapons are a lesser form of magic weapon, being cheaper to craft and requiring less talent. They are created intentionally by hedge wizards and other lesser spellcasters, or they can be the result of a failed attempt at crafting a normal magic weapon.
A charged weapon has 1d4+1 charges. The wielder can spend a bonus action to expend a charge. This activates the charged weapon for 1 minute, during which it is treated as a magic weapon with a +1 bonus to attack and damage rolls.
When all the charges are expended, it becomes a normal, non-magical weapon.