A spinal cord stimulator is implanted under the skin.

Typically a stimulator is battery-powered.
The device battery needs to be removed prior to cremation as it fits the criteria of a "battery-powered device"in the Cremation Regulations.