From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Genannt Subject: Present rate from proc-fs Date: Sun, 15 Dec 2002 17:09:58 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <200212151709.58541.jonasge@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hello ! I develop an GUI-Tool for displaying the state of the battery in kde. My program needs the last full capacity, remaining capacity and the prese= nt=20 rate for calculating the state of the battery. I need the present rate fo= r=20 the time how long the notebook works with the battery power. But some notebooks (Toshiba Satellite 3000-514) does not offer the presen= t=20 rate in the proc-fs.=20 My program needs the value!! How I program that I could calcualte the=20 remaining time without the present rate? Or could I calcualte the present rate from the other values? bye Jonas My program: http://www.elektronikschule.de/~genannt/kacpi ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/