Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: upd(4): add more sensors (load, power..)
To:
Walter Alejandro Iglesias <wai@roquesor.com>
Cc:
tech@openbsd.org, sthen@openbsd.org
Date:
Tue, 26 Nov 2024 15:29:17 +0100

Download raw body.

Thread
Le Mon, Nov 25, 2024 at 07:26:25PM +0100, Walter Alejandro Iglesias a écrit :
> On Mon, Nov 25, 2024 at 05:48:14PM +0100, Landry Breuil wrote:
> > here's a diff (below) that does _just_ that, for a start. gives this here:
> > 
> > hw.sensors.upd0.percent2=25.00% (PercentLoad), OK
> > hw.sensors.upd0.timedelta0=917.352000 secs (RunTimeToEmpty), OK
> 
> I get this in mine:
> 
>   hw.sensors.upd0.percent2=24.00% (PercentLoad), OK
>   hw.sensors.upd0.timedelta0=1017.806400 secs (RunTimeToEmpty), OK

and do those two values match what's reported by the UPS on its LCD, if
you have one ?

Landry