Hello, Check the apm(8) and see if it is what you need.
http://man.openbsd.org/apm.8 Manuel > El 26/07/2017, a las 19:11, Carlos Cardenas <cardena...@gmail.com> escribió: > > 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 >