A surgical instrument includes a housing having a shaft extending therefrom. An end effector is operably supported at the distal end of the shaft includes a pair of jaw members. A generator operably coupled to the housing is in operable communication with a battery assembly of the surgical instrument to convert electrical energy into at least one of RF and ultrasonic energy to energize the at least one activatable jaw member. A thermally-activatable device in operable communication with either the generator or the battery assembly is configured to promote air-flow around the generator and battery assembly.