Very good idea. Just be aware that not all UPS uses 12volts dc as supply voltage. When absolutely certain that the UPS has 12 volts dc, your car battery will even charge faster if your 220v ac supply into your wall outlet.