That UPS has a battery in it that gets converted to AC so the wall wart can convert it back to DC. Each conversion loses some energy, of course, and in the case of a cheap wall wart, you may even ...