Are you sure it operates on 12v dc? Even if it plugs into the wall, if it is a power brick, it usually coverts the 120v ac down to 12v dc. LOok on the brick and read what it says the output is. It will most likely say something like 12vdc.
If so, you only have to cut the wire an connect the loper one to the proper terminal on the battery.