The tool has, in a casing (2), electrically operated components and a housing (4) to accommodate a battery (3) that powers the components, with detachable elements (10, 24) of securing the battery in its housing in a position of mechanical locking and electrical connection to the components and in a position in which it is mechanically retained in its housing but electrically disconnected. The securing element (24) is designed to retrain the battery (3) in the electrically disconnected position only by friction (24, 31), thus avoiding any wrong move.