Re: Strange time calc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Strange time calc

Kern Sibbald
On Friday 02 September 2005 18:24, Adam Kropelin wrote:

> Mike Tancsa wrote:
> > At 08:08 PM 01/09/2005, Adam Kropelin wrote:
> >> Mike Tancsa wrote:
> >>> I have an RS1500 with an extra battery pack that got shutdown with
> >>> lots of time left. From the logs
> >>
> >> My RS1500s with external battery packs tend to lose TIMELEFT
> >> accuracy over time. When I first got them (I have 3) I had to do the
> >> old fashioned runtime calibration procedure before they were
> >> accurate. I find I have to repeat that once every 6 months or so to
> >> keep them from drifting too far.
> >
> > Hmmm, these are pretty new as well and I have not calibrated
> > them.  Whats the best way to calibrate them?
>
> When mine were new the runtime was *waay* off. I think a cal will solve
> your problem. The manual cal procedure has been discussed a bunch of
> times on apcupsd-users. Here's one instance:
>
> http://www.kroptech.com/~adk0212/mailimport/showmsg.php?msg_id=2952931596&d
>b_name=apcupsd-users
>
> > Also, is it possible to set the MINUTES to zero and use just
> > the battery charge to figure out when to shutdown the unit?
>
> Unfortunately not. Apcupsd waits for TIMELEFT <= MINUTES, so MINUTES=0
> would trigger as soon as TIMELEFT hit 0, which happens prematurely on
> your UPS. Perhaps apcupsd should special-case a MINUTES setting of zero
> to mean "ignore TIMELEFT".
>
> Kern, does that sound reasonable?

Hello Adam,

I'm on vacation at the moment, so I cannot easily look at the code, but if I
remember right setting MINUTES to -1 accomplishes what you want.

>
> --Adam


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users
Reply | Threaded
Open this post in threaded view
|

Re: Strange time calc

Adam Kropelin
On Sat, Sep 03, 2005 at 06:52:54PM +0200, Kern Sibbald wrote:

> On Friday 02 September 2005 18:24, Adam Kropelin wrote:
> > Mike Tancsa wrote:
> > > Also, is it possible to set the MINUTES to zero and use just
> > > the battery charge to figure out when to shutdown the unit?
> >
> > Unfortunately not. Apcupsd waits for TIMELEFT <= MINUTES, so MINUTES=0
> > would trigger as soon as TIMELEFT hit 0, which happens prematurely on
> > your UPS. Perhaps apcupsd should special-case a MINUTES setting of zero
> > to mean "ignore TIMELEFT".
> >
> > Kern, does that sound reasonable?
>
> Hello Adam,
>
> I'm on vacation at the moment, so I cannot easily look at the code, but if I
> remember right setting MINUTES to -1 accomplishes what you want.

Ah, yes...that would do it.

--Adam



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users