I need to use raspberry devices as mini servers. I'll need to install ~100 of them in different locations. In those areas, electricity power offs are quite common, so I'm thinking using a cheap usb battery pack as a UPS. I'm considering http://smile.amazon.com/KMASHI-Thunderbolt-Incredible-Blackberry-Smartphones/dp/B00JM59JPG/ref=pd_sim_cps_9?ie=UTF8&refRID=0NGYHENZXAX3Q2C5RD22 this or http://smile.amazon.com/Poweradd-trade-Pilot-X1-Flashlight/dp/B00DGJJNVO/ref=sr_1_16?ie=UTF8&qid=1406750103&sr=8-16&keywords=usb+battery+pack this.
My questions is:
- Will this approach work at all?
- Is there any way I can detect when power goes off?
Thanks.