The surgical instrument may include a handle that includes a battery cavity and electrical contacts, and in addition, a battery that can be removably disposed in the battery cavity. The battery is configured to engage and power the electrical contacts when the battery is operatively positioned within the battery cavity. The handle has a diagnostic means for evaluating whether the handle is operating properly, and if the diagnostic means determines that the handle is not in a suitable operating state, the battery is operatively positioned within the battery cavity. A battery lockout configured to enable. Additionally or alternatively, the handle is configured to prevent the battery from disengaging from the electrical contacts, for example, when the handle is transmitting operational motion to a shaft assembly attached to the handle. In addition, a battery lock can be provided. Either one system or two systems may include a battery lockout and a battery lock.外科用器具は、電池空洞部及び電気接点を含むハンドルと、加えて、電池空洞部に取り出し可能に配置可能な電池とを備え得る。電池は、電池が電池空洞部内の動作可能に位置するときに、電気接点と係合し、これに給電するように構成されている。ハンドルは、ハンドルが好適に動作しているかを評価するための診断手段と、診断手段がハンドルが好適な動作状態にないと判定する場合、電池が、電池空洞部内に動作可能に位置するのを可能にするように構成された電池ロックアウトとを更に備える。加えて、又は代わりに、ハンドルは、例えば、ハンドルが、ハンドルに取り付けられたシャフトアセンブリに動作運動を伝達しているときに、電池が、電気接点から係合離脱するのを防ぐように構成された、電池ロックを備え得る。1つのシステム、又は2つのシステムのいずれかが、電池ロックアウト及び電池ロックを備えることがある。