An eradication device 100 for killing rodents, such as rats is disclosed. The eradication device, in the orientation intended during use, comprises: a housing 2, a firing mechanism 200, sensor means 6, and a power source 8. The power source 8 is configured for powering said sensor means 6 and said firing mechanism 200. The housing 2 comprises said firing mechanism 200, and the firing mechanism 200 comprises one or more killing means 10; wherein said firing mechanism is configured, upon receiving a trigger
signal TS, to eject one or more of said killing means 10 from a non-ejected, stand-by configuration, thereby making said killing means 10 arrive at an ejected configuration. The power source is accommodated in a power source
enclosure 600 which is resting on support element 606 in the housing 2 of the eradication device. Engagement means 604,608 are included so that the power source
enclosure 600 can be engaged with the support element 606. The engagement means 604,608 allow rotation of the power source
enclosure 600 relative to support element 606. The power source enclosure 600 comprises a first
magnet system 610 and the support element 606 comprises a second
magnet system 612. Two different mutual angular orientations AO1 and AO2 between the power source enclosure 600 and the support element 606 exist. In the mutual angular orientations AO2 two
magnet systems 610,612 exhibit a larger magnitude of magnetic attractive forces, relative to the mutual angular orientations AO1, thereby enabling attachment of the power source enclosure 600 to and detachment from the remainer of the eradication device.