Download raw body.
upd(4): add more sensors (load, power..)
On Sun, Dec 01, 2024 at 10:26:15AM +0100, Landry Breuil wrote: > new diff below, add #define UPD_DEBUG to the top of the file if you want > debug output printed every 5 second in dmesg. Applies on top of -current > where i've commited the PercentLoad bit. > > reports/testing welcome on a variety of models/brands, with comparison > against values reported by nut if possible.. # lsusb -v -d 0x0463:0xffff | grep -A2 'Time To Empty' | grep Size Item(Global): Report Size, data= [ 0x20 ] 32 $ upsc nutdev-usb1@localhost | grep runtime battery.runtime: 1377 $ sysctl hw.sensors.upd0 | grep RunTime hw.sensors.upd0.timedelta0=1377.390625 secs (RunTimeToEmpty), OK > > Landry -- Walter
upd(4): add more sensors (load, power..)