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.

link|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
feedback

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
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.