Page 1 of 1

shutdown on low battery

PostPosted: Thu Aug 13, 2015 3:15 pm
by SPARKY295
after some work i have the ups pico up and running, i have gotten it to shhutdown the pi when shore power is removed however i would like to have it set to keep powering my pi2 until the pico battery gets to say 10% remaining capacity. does anyone know how this could be accomplished?

Re: shutdown on low battery

PostPosted: Sat Aug 15, 2015 2:35 pm
by Pimaster
Hi,

I moved your post from UPiS to UPS PIco, two different products.

i would like to have it set to keep powering my pi2 until the pico battery gets to say 10% remaining capacity. does anyone know how this could be accomplished


1. Set the battery running time to 0xff (means until battery will be near to empty,
2. Monitor the battery Voltage with a python script and decide when to shut down the PIco (on what battery level)
3. Shutdown the RPi (using the PIco command) when you have requested battery level (before it happen automatically by PIco)

However if you set the battery running time to 0xff, it is something around of it (10% - 15%) of battery level. So, if it satisfy you, do nothing, just set the running time on battery to 0xff and drink a coffee, we are working for you ;-)

Look here, he done it already

viewtopic.php?f=12&t=216#p1826

BR PiM