LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 02-21-2006, 02:54 PM   #1
cavedude
LQ Newbie
 
Registered: Jul 2005
Location: Fairfield, CA
Posts: 4

Rep: Reputation: 0
Laptop Power Control


I am currently running Breezy with KDE 3.5.1:

Under System Settings -> Laptops & Power -> Laptop Battery -> Power Control Tab, there is an option to "Don't act if LAV is > float_value".
My question is what does LAV stand for and how is it represented in a floating point value?

I did go to Help, but all I got was " There is no documentation available for /systemsettings/index.html".

Any insight would be appreciated.
 
Old 02-23-2006, 10:25 AM   #2
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
Hi

I've searched the www and not found much.

May I suggest that the setting is meant to prevent the
laptop from operating when the battery voltage has
reached a certain threshold value.

With some battery technologies if you lower the voltage
of a battery below a certain threshold the battery will nolonger be able to be charged to its maximum capacity
due to it's chemical make up.

Given the context that sounds likely.
It's my best guess.

If you read the underlying code it might clarify the
situation.

Hope that helps.

Chris
 
Old 02-28-2006, 11:52 AM   #3
cavedude
LQ Newbie
 
Registered: Jul 2005
Location: Fairfield, CA
Posts: 4

Original Poster
Rep: Reputation: 0
Under that same tab it has the power controls broken out as "Powered" & "Not Powered" and there is a LAV setting for both. If it concerned the battery I wouldn't think there would be a setting for "Powered". Anyway, thanks for the reply.

-Chuck
 
Old 03-01-2006, 08:25 AM   #4
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
01/03/2006

No problem Cavedude.
In the meanwhile I'lll keep my eyes open for more info.

Best regards

Chris
 
Old 03-01-2006, 09:02 AM   #5
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
http://linux-faqs.com/HOWTO/Ecology-...pendix-a-3.php

KDE http://www.kde.org provides KAPM , Kbatmon and Kcmlaptop
set of KDE control panels that implement laptop functions
including power management. Allows you to configure power saving options.

Scanned for message: "don't act if LAV > "

Seems to be used in Kcmlaptop
Tracked that to : http://www.taniwha.com/laptop/


#: power.cpp:195/ 285
msgid "Don't act if LAV is >"

#: power.cpp:198/ 288
"If enabled and the system load average is greater than this value none of "

So LAV = "System Load Average" ? Hmmmm
 
Old 03-01-2006, 09:20 AM   #6
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
Got it ! LAV = "Load Average"

The system has a calculated attribute called a load average (LAV).
The operations of some processes can be controlled based on the LAV.
The LAV is a floating point value.

eg. set sendmail to stop executing when the LAV exceeds a specified value. ie the system (CPUs, etc) are highly utilized.

In the case you are stating it seems logical that the options that
you confugure under that menu for power are acted on only if the
system load average (LAV) is higher than a threshold value.

In Debian design sendmail checks the system load average,
and stops processing mail when the LAV exceed a specified threshold,
so as to allow other (more important) processes to run.

There are KDE applications (eg. klavg) that show the system's current
lav.

I've had a dig around but I cannot find any documentation about how
Debian Linux calculates (or sets) the LAV



Chris
 
Old 03-01-2006, 09:28 AM   #7
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
http://www.cyberciti.biz/nixcraft/vi...-find-out.html
 
Old 03-01-2006, 09:34 AM   #8
cgtueno
Member
 
Registered: Jul 2003
Posts: 356
Blog Entries: 1

Rep: Reputation: 49
$uptime
1:00:00 up 10 min, 1 user, load average: 0.00, 0.00, 0.00

http://www.faqs.org/faqs/hp/hpux-faq/section-291.html

Calculation of system load average by uptime and top :

load average = average number of processes in the queue waiting
for CPU time, over the last 1, 5, and 15 minutes

Bingo !
 
Old 05-18-2006, 06:13 PM   #9
scweej
LQ Newbie
 
Registered: May 2006
Distribution: Kanotix, Debian, openSUSE, Ubuntu
Posts: 11

Rep: Reputation: 0
cat /proc/loadavg

gives u details of the load average.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to control the monitor power alejandroye Mandriva 3 11-08-2004 01:04 AM
Power control on mandrake 10.0 official f3ua Mandriva 2 10-22-2004 08:55 AM
How to control the power button in redhat 7.3 like windows XP - please helps ! kikkubey Linux - Hardware 2 10-05-2004 01:48 AM
Laptop does not power off! But it did before!! eyeliner Slackware 5 10-01-2004 08:33 AM
ACPI Display Power Control Problem stelmed Slackware 1 12-30-2003 12:26 AM


All times are GMT -5. The time now is 02:23 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration