Ingo Fischer
2016-Sep-15 11:19 UTC
[Nut-upsuser] Use nut to handle shutdown when using local Li-io battery (Cubietruck)
Hey All, I use nut on my Cubietruck some time now together with a APC USV and everything works great including auto-shutdown. Now I got a second Cubietruck and this one has a Li-ion battery connected directly to the board. The data can be read out by "normal" Linux options, e.g.: cat /sys/class/power_supply/battery/capacity for the current loading level and such. My question is now if there is a way to get these data handled by NUT in order to use the same things as with the normal USV. Is there a drover for such "low level" things? Or is there a generic driver that maybe uses a formatted textfile, so I could write the data in a defined format file every x Minutes or such ... I was not able to find something like this so far. Thank you for your ideas. Ingo Fischer
Charles Lepple
2016-Sep-15 11:32 UTC
[Nut-upsuser] Use nut to handle shutdown when using local Li-io battery (Cubietruck)
On Sep 15, 2016, at 7:19 AM, Ingo Fischer wrote:> > Or is there a generic driver that maybe uses a formatted textfile, so I > could write the data in a defined format file every x Minutes or such ... > I was not able to find something like this so far.You can do this with the "dummy-ups" driver: http://networkupstools.org/docs/man/dummy-ups.html
Ingo Fischer
2016-Sep-15 11:45 UTC
[Nut-upsuser] Use nut to handle shutdown when using local Li-io battery (Cubietruck)
Hi, ok, had this in mind but hoped for a driver for these "standard" linux possibilities :-) I will try it. But would it not be an idea to have a gerneric "linux" driver for nut? Ingo Fischer Am 15.09.16 um 13:32 schrieb Charles Lepple:> On Sep 15, 2016, at 7:19 AM, Ingo Fischer wrote: >> >> Or is there a generic driver that maybe uses a formatted textfile, so I >> could write the data in a defined format file every x Minutes or such ... >> I was not able to find something like this so far. > > You can do this with the "dummy-ups" driver: > > http://networkupstools.org/docs/man/dummy-ups.html > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser >
Apparently Analagous Threads
- Use nut to handle shutdown when using local Li-io battery (Cubietruck)
- Use nut to handle shutdown when using local Li-io battery (Cubietruck)
- Re: [Qemu-devel] Cubietruck: cannot create KVM guests: "kvm_init_vcpu failed: Invalid argument"
- Re: Cubietruck: QEMU, KVM and Fedora
- Re: [Qemu-devel] Cubietruck: cannot create KVM guests: "kvm_init_vcpu failed: Invalid argument"