Howdy.
Been using my toughbook with OpenBSD more and more and one of the things
that I seem to be missing is simple battery status (percent remaining,
if it's being charged, etc...) in my tmux(1) or wmii(1) session.
Using sysctl(1) on hw.sensors.acpiac* and hw.sensors.acpibat* gets me
the info I need.
Is there a utility in base that does this already?
Not seeing anything in the base or ports, I wrote a simple c program to
get me the info (https://github.com/cobracmder/battery).
Would a utility of this nature be useful to other folks?
+--+
Carlos
No comments:
Post a Comment