Is there any console tool that can be used to view battery status on a laptop (Dell Vostro A860) ?

link|improve this question

feedback

migrated from serverfault.com Mar 29 '10 at 20:47

This question came from our site for system administrators and desktop support professionals.

4 Answers

up vote 1 down vote accepted

I don't think the apm command has existed for a while now -- try the sysutils/hwstat port (pulls battery info from ACPI).

There are plenty of X11/graphical battery meters in ports but that's the only one I'm aware of that works on the console.

link|improve this answer
1  
It was certainly there in 7 and the man pages say it's still there in 8. – Cry Havok Mar 29 '10 at 21:35
Yes, it's still there in my 8-STABLE VM (which was installed clean from 8.0-RELEASE). – coneslayer Mar 29 '10 at 22:15
feedback

You want apm -b.

link|improve this answer
feedback

I'm using such script in my conky config

sysctl -n hw.acpi.battery.life
link|improve this answer
feedback

acpiconf -i 0 ; man acpiconf

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.