Present rate from proc-fs
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 present rate for calculating the state of the battery. I need the present rate for the time how long the notebook works with the battery power.
But some notebooks (Toshiba Satellite 3000-514) does not offer the present rate in the proc-fs.
My program needs the value!! How I program that I could calcualte the 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/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Quoted 6 lines · Jonas Genannt
But some notebooks (Toshiba Satellite 3000-514) does not offer the present rate in the proc-fs.
My program needs the value!! How I program that I could calcualte the remaining time without the present rate?Or could I calcualte the present rate from the other values?
Well, you could monitor the remaining capacity, and see how long it takes to go down and by how much.
- --
Cheers, Chris Howells -- [email protected], [email protected]
Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt
KDE: http://www.koffice.org, http://printing.kde.org, http://usability.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE9/QtuF8Iu1zN5WiwRAgJYAKCaZ+X7pbXj7+2zmNcOT7/2rs+0+wCfYRPF DffyEyYFZsgIAX5jbAFxzLs=
=OrdS
-----END PGP SIGNATURE-----
-------------------------------------------------------
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/