Comment 4 for bug 224791

Revision history for this message
Al Grimstad (al-grimstad) wrote :

OK, I think I have a plausible hypothesis for my experience and a configuration change that makes the annoying WALL messages go away.

First, although my battery is at 100% when I check is--and so the "low battery" message seems wrong, there is something else going on. I have a couple of things attached to the APC UPS and "ups.load" is very high. I have the sense that when ups.load crossed over from the 60% area into the 70% area a "low battery" condition was communicated to upsmon. If this hypothesis is correct, this may be just a design characteristic, not a driver bug.

Second, upsmon seems to have some defaults that I didn't understand. I had commented out my normal "LOWBATT" configuration (NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC)
 to try to kill the WALL messages. That didn't work. What I ended up doing was setting LOWBATT to "NOTIFYFLAG LOWBATT SYSLOG". This seems to have worked. There are now lowbatt messages in syslog, but no WALL messages.

So, the upshot of all this is that I think I should withdraw the bug report. Sorry for sharing my learning experience with you. -- al