Mon May 28, 2012 1:39 am
Oh, UPS'es are much more complicated than I described, because the switch from net powered to battery powered (and back) must be essentially immediate, and that is technically very difficult.
Essentially every 12V battery should be fine, such as those found in motorcycles that are so often used in African (and Asian) countries, and the charging current needs to be essentially just a little bit more than the average current draw of a raspi. A raspi uses (for normal operation) about 2.2 Watt, or at 5V 0,44 A (440mA), so any 1A 12V charger would suffice (if the net power is mostly on, otherwise just double the amperage if the power is on half the time etc.) Don't worry about "overcharging" on a lead battery like the ones used in card and motorcycles the charger would just put enough power in the battery to keep it charged, no more.
The only point is that the bigger the battery is the longer the PI will be powered from it without it being charged. But a typical motorcycle lead battery will hold about 30 Amperes/hour, so at 0.44 Amperes it will power the Raspberry PI for at least 68 hours! (more, as the average cigar plug converter will generate much more output current at 5V than it draws input current at 12v)