LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 12-19-2012, 01:35 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
seeking test for laptop battery


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.
 
Old 12-20-2012, 10:36 AM   #2
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
COMMENTARY

I still don't understand why this happens on LQ:

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.

Joyeux Noël,
~~~ *<:}( )=// Dan
 
Old 12-20-2012, 06:25 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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.
 
Old 12-20-2012, 09:41 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Concerning your question about un-replied-to threads, LQ automatically gives a one-time "bump" after 24 hours to threads that have had zero replies.

Last edited by frankbell; 12-20-2012 at 09:42 PM.
 
1 members found this post helpful.
Old 12-22-2012, 04:10 PM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
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.)

Joyeux Noël,
~~~ *:-}( )=// Dan
 
Old 12-24-2012, 02:29 AM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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.

jlinkels
 
1 members found this post helpful.
Old 12-24-2012, 11:16 AM   #7
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by berrymartin View Post
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.

Joyeux Noël,
~~~ 0;-Dan
 
Old 12-24-2012, 11:19 AM   #8
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by jlinkels View Post
...
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.

Joyeux Noël,
~~~ 0;-Dan
 
Old 12-24-2012, 11:51 AM   #9
memilanuk
Member
 
Registered: Sep 2010
Location: Washington state, USA
Distribution: Ubuntu among others
Posts: 67

Rep: Reputation: 2
Hello Dan,

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.

Monte
 
1 members found this post helpful.
Old 01-02-2013, 10:43 AM   #10
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
http://dynamicpower.sourceforge.net/
- intel centrino
- ti omap platforms

http://elinux.org/Power_Management

https://lesswatts.org

$ apt-cache -f showpkg pm-utils

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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Seeking: memory test software for Ubuntu 12.04 Vkthor Linux - Software 3 06-11-2012 05:43 AM
[SOLVED] seeking go-nogo performance test for virtualization SaintDanBert Linux - Laptop and Netbook 1 07-04-2009 04:42 PM
Battery Test Zuggy Linux - Laptop and Netbook 3 10-19-2004 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration