Beating (7)
'beating' is the definition.
(thesaurus)
This is the entire clue.
(Other definitions for battery that I've seen before include "One may be charged" , "associated with assault" , "Power source; artillery unit" , "Power cell" , "Means of storing electric current" .)
(Another definition for bashing that I've seen is " Violently striking; severely criticising".)