This is 2nd version of the earlier patch featuring a few new features
and fixes to the apcsmart driver, following the remarks in:

http://www.mail-archive.com/nut-upsdev@lists.alioth.debian.org/msg02294.html

Major changes from v1:

- handle battery.charge and battery.runtime checks at main.c level
- handle "immutable but writable" conflict gracefully at driver level
- dstate_getflags() and status_set_uniq() added (hope this is fine)

Apart from that, minor changes and adjusted help.


Michal Soltys (3):
  drivers/dstate: add dstate_getflags() and status_set_uniq()
  drivers/main.c: add tests for LB condition
  drivers/apcsmart: updates

 drivers/apcsmart.c |  562 +++++++++++++++++++++++++++++++++++++++++-----------
 drivers/apcsmart.h |   70 ++++---
 drivers/dstate.c   |   21 ++
 drivers/dstate.h   |    2 +
 drivers/main.c     |   69 +++++++
 5 files changed, 582 insertions(+), 142 deletions(-)

-- 
1.7.2.1


_______________________________________________
Nut-upsdev mailing list
Nut-upsdev@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to