Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running ubuntu on my netbook, and I wanted a simple piece of software to keep track of how long the PC manages to stay on while on battery power. It could be something that automatically kicks in when I unplug the ṕower plug. But it could also be a simple command that I run manually to get similar results.

My objective is to find out how long my laptop's battery lasts.

share|improve this question
    
Keep in mind that power use isn't constant, and will vary depending on how much you use the CPU, hard drive, monitor (turning off when idle and even brightness), etc. –  Roger Pate Jun 21 '10 at 2:08
    
I'm aware of that. I'm just trying to get a general idea. –  Bruce Connor Jun 21 '10 at 7:25
add comment

1 Answer

up vote 1 down vote accepted

Try acpi on terminal. Here's a friendly tutorial.

check all the status together

acpi -V

Battery 1: discharging, 27%, 00:11:29 remaining
Thermal 1: ok, 50.0 degrees C
AC Adapter 1: off-line
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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