Re: How to check battery status from command line?



On Sunday 27 August 2006 08:47, BJ stood up and addressed the masses
in /comp.os.linux.misc/ as follows...:

Back in the day when APM was the norm, all you had to do to check the
battery status was to enter "apm" at the command prompt. What command
can be used to check battery status when APCI is in use?

My X11 battery status indicator (Battery Charge Monitor 2.14.0) is
pulling its information from somewhere. Where is that 'somewhere'? -BJ

Presumably somewhere in */proc* or */sys.* Why don't you look? ;-)

It is also possible that /lm_sensors/ detects your battery information, but
I can't confirm this. Your mileage may vary on this one.

--
With kind regards,

*Aragorn*
(registered GNU/Linux user #223157)
.



Relevant Pages