summaryrefslogtreecommitdiff
path: root/bin/pax/ar_subs.c
diff options
context:
space:
mode:
authorLandry Breuil <landry@cvs.openbsd.org>2014-05-23 19:17:40 +0000
committerLandry Breuil <landry@cvs.openbsd.org>2014-05-23 19:17:40 +0000
commit75b8f6b17f8dfe9cbeff32989622d6ba43d87ffb (patch)
tree119770fc429d1415d0c81def3eccbf474280d504 /bin/pax/ar_subs.c
parent54f1a55af968719ed12999eddb18e9a36e76dc01 (diff)
Expose bif_capacity as the 'design capacity' through an acpibat sensor,
giving you the original capacity of the battery: hw.sensors.acpibat0.watthour0=64.07 Wh (last full capacity) hw.sensors.acpibat0.watthour4=84.24 Wh (design capacity) hw.sensors.acpibat0.amphour0=2.03 Ah (last full capacity) hw.sensors.acpibat0.amphour4=4.40 Ah (design capacity) Diff from Fabian Raetz on tech@, thanks! ok mlarkin@ zhuk@ armani@ kettenis@
Diffstat (limited to 'bin/pax/ar_subs.c')
0 files changed, 0 insertions, 0 deletions