Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Mar 29 '10 at 20:47

This question came from our site for system and network administrators.

up vote 2 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.

share|improve this answer
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

You want apm -b.

share|improve this answer

Try acpiconf -i 0 or acpiconf -i 0 | grep Remaining.

Consider creating an alias such as battery to make it easier to find the information.

share|improve this answer

I'm using such script in my conky config

sysctl -n
share|improve this answer

Try the following:

acpiconf -i 0 ; man acpiconf
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .