Cordless ultrasonic surgical device having a battery assembly (301, the battery assembly comprising: a housing (2802a, 2802b); having an exterior shape formed to removably connect with a battery terminal of the surgical device; containing at least one modular battery operable to supply power to the surgical device at the battery terminal; and having a control circuit comprising at least one microprocessor, a memory, and a real-time clock, the control circuit being communicatively coupled to the at least one modular battery and operable to: detect an identity of the surgical device; determine at least one piece of information pertaining to at least one operational parameter of the surgical device based upon the detected identity; record the at least one piece of information at least in the memory; and selectively allow or prevent the at least one modular battery from supplying power to the surgical device dependent upon the at least one piece of information;, wherein the surgical device comprises: a cordless ultrasonic-movement-generation assembly operable to impart ultrasonic movement to an ultrasonic waveguide when the waveguide is connected thereto; and a surgical handle having the battery terminal; and being operable to removably secure the ultrasonic-movement-generation assembly to the surgical handle; and electrically connect the battery assembly to the ultrasonic-movement-generation assembly. a housing (2802a, 2802b); having an exterior shape formed to removably connect with a battery terminal of the surgical device; containing at least one modular battery operable to supply power to the surgical device at the battery terminal; and having a control circuit comprising at least one microprocessor, a memory, and a real-time clock, the control circuit being communicatively coupled to the at least one modular battery and operable to: detect an identity of the surgical device; determine at least one piece of information pertaining to at least one operational parameter of the surgical device based upon the detected identity; record the at least one piece of information at least in the memory; and selectively allow or prevent the at least one modular battery from supplying power to the surgical device dependent upon the at least one piece of information; having an exterior shape formed to removably connect with a battery terminal of the surgical device; containing at least one modular battery operable to supply power to the surgical device at the battery terminal; and having a control circuit comprising at least one microprocessor, a memory, and a real-time clock, the control circuit being communicatively coupled to the at least one modular battery and operable to: detect an identity of the surgical device; determine at least one piece of information pertaining to at least one operational parameter of the surgical device based upon the detected identity; record the at least one piece of information at least in the memory; and selectively allow or prevent the at least one modular battery from supplying power to the surgical device dependent upon the at least one piece of information; detect an identity of the surgical device; determine at least one piece of information pertaining to at least one operational parameter of the surgical device based upon the detected identity; record the at least one piece of information at least in the memory; and selectively allow or prevent the at least one modular battery from supplying power to the surgical device dependent upon the at least one piece of information; a cordless ultrasonic-movement-generation assembly operable to impart ultrasonic movement to an ultrasonic waveguide when the waveguide is connected thereto; and a surgical handle having the battery terminal; and being operable to removably secure the ultrasonic-movement-generation assembly to the surgical handle; and electrically connect the battery assembly to the ultrasonic-movement-generation assembly. the battery terminal; and being operable to removably secure the ultrasonic-movement-generation assembly to the surgical handle; and electrically connect the battery assembly to the ultrasonic-movement-generation assembly.