Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Folks,
I want to test the battery for several laptops in the world of Ubuntu, Mint, Debian.
Q1. Is there a package that will grab charge and discharge data and prepare a graph vs. time?
Q2. Is there a package that will generate a simulated workload -- processes, network, keyboard and pointers, disk, computation, etc -- that I can use while the graphing package runs?
I have a dumb script that writes the time and current battery state to a file. When the battery quits, the file stops so I have some idea of "how long" to discharge. Charging is a different matter.
Clarification:
Every laptop has a battery. Today, most are Lithium-something with a couple of hours of "typical use" before needing recharge. I'm speaking of a true laptop and not a tablet or thin-book or similar. One may try to:
charge the battery
disconnect from wall power
use the laptop until "low battery" warning
repeat
but often we remain connected to wall power when it is available. That is very hard on battery chemistry for several reasons discussed elsewhere. NOTE -- As I understand things, a major cause for battery death is the heat resulting from continuous or long term connection to wall power.
Another point of trouble is the nature of the "low battery" warnings themselves. In my case, I get an on-screen pop-up for a very few seconds. The pop-up then leaves the screen without acknowledgement. If I'm not watching when this happens, I'm not aware that I'm low on juice and my laptop suddenly enters low-power, evasive action out from under whatever I'm trying to accomplish.
For those of us who need to work while walk-a-bout, we need a good idea about how long our battery is likely to last under real usage conditions. Many of the battery life articles suggest behavior and settings that are not practical for getting actual work done.
Thanks in advance,
~~~ 0;-Dan
Joyeux Noël
Last edited by SaintDanBert; 12-19-2012 at 04:23 PM.
I post a new topic. My settings automatically subscribe myself to that thread.
The next day, that thread appears in bold on the subscribed threads list.
When I look at the thread, the only content is my original posting.
If bold titles mean that the thread has not-read content, okay, I have not
read my own post ... but it is my own bloody post ....
Is it too difficult to sort the difference between "not read posting" and
"not read reply to an OP that you created" ?
END COMMENTARY
(grin, blush) No, I don't look at the replies count or last posted by details.
I'm usually reading LQ over my morning coffee.
It just seems like a lot of trouble for not really knowing anything more than you already know. As in the battery is dead, maybe it's time to charge it. When I've run on battery on linux, the cpu throttling kicks in when the battery gets low. And that's normally a good indicator that I should find a plug.
As far as equipment life. I just assume that laptop fans last about one year. Their batteries usability about three years. And their hard drives five years. "If you're lucky". As I look at my 6yo laptop running from a $5 flash drive with no functional fan and tethered to a wall for power. Although I probably could still get 10+ minutes on battery if I had to. But it was only 80-ish minutes at it's best new-ish. If you need the extra battery life then bring an extra battery, or a 2nd laptop since they cost about the same these days.
As far as tracking and guessing how much longer you have, there's too many variables. And just looking at it (recording the data over time) changes at least a couple of those variables.
One of the most frustrating aspect of this entire issue is the "not notice" shutdown.
The system 'notifier' does fire twice: (1) low, and (2) critical. The on-screen-notice
only appear for a few seconds. That means one must be present to see. I would be better
able to live with things if I could re-configure or re-program the system notifiers.
(Something else I have not discovered how to accomplish.)
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
AFAIK most modern laptops stop charging the battery completely. So leaving a laptop plugged in continuously is no longer cause for battery failure.
About notification problems, I use KDE power management which is satisfactory. It is highly configurable and even usable. But that is KDE 4.4.5, and most KDE applications either don't work correctly, or they stop working at the next upgrade when they did work correctly.
Battery Eater is a simple, free tool that measures the performance of a laptop battery while running a variety of real-world tasks.
... Find out more here
This link takes me to an Italian site -- doh ".it" -- but I don't find 'Battery Eater' anywhere.
Also, given the sites focus on remote control things, I suspect the software is win-dose centered and not linux. I'd appreciate a clarification of your "more here" details.
...
About notification problems, I use KDE power management which is satisfactory. It is highly configurable and even usable. But that is KDE 4.4.5, and most KDE applications either don't work correctly, or they stop working at the next upgrade when they did work correctly.
jlinkels
Is there someone out there who can talk (or direct me to details) about notification on Mint, Ubuntu, Cinnamon-desktop instead of KDE.
This is something I've been curious about myself, as I have a new Lenovo ThinkPad T530 - a 15.6" 1600x900dpi i5 quad-core 2.6GHz 'slab' of portable computing power
I was intrigued (but highly skeptical) of the vendor's claims of 12+ hours of battery life, even with the extended 9-cell battery pack sticking out the back side. This machine came loaded with Win 7 Pro, and there are a number of included utilities that apparently do allow fine-grained control of the power draw under different scenarios... some of which have the thing so powered-down its not good for much beyond light web browsing or reading a PDF, but it does work. I've never ran the thing in full 'battery stretch' mode for any length of time... but it easily lasts 4+ hours.
Under Linux... I'm lucky to get 2+ hours thus far, which is rather disappointing to say the least. So I'm starting to look for different tools to help eke out some more life out of the battery under Linux.
One of the sites I've found is www.lesswatts.org, which does have a number of tips/tricks as well as a small app (powertop) that can help identify how much power you are expending on various things. It also has a test suite that you can d/l and run on your local machine (bltk) with a variety of simulated work loads. I haven't done that yet myself, but it might be what you're looking for.
Taking note of the dependencies and perhaps install pm-utils and some of those dependencies if power management is your goal. (assumes a debian based system / YMMV)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.