[linux-laptop] system call to check battery energy?

James Tappin sjt at star.sr.bham.ac.uk
Tue Jul 12 07:11:14 EDT 2005


On Tue, 12 Jul 2005 12:50:57 +0200
Karol Kozimor <sziwan at hell.org.pl> wrote:

KK> Thus wrote Vinod:
KK> > Would anyone know if i could make a simple system call
KK> > and find the battery energy remaining on my linux
KK> > laptop running redhat 9?
KK> 
KK> None such exists, and to my best knowledge, probably never will. What might
KK> one day exist is some standard library interface (libpower?) to handle both
KK> ACPI and APM, but I'm not aware of any currently available solutions.
KK> Best regards,

And hopefully PMU as well.

James

-- 
+------------------------+-------------------------------+---------+
| James Tappin           | School of Physics & Astronomy |  O__    |
| sjt at star.sr.bham.ac.uk | University of Birmingham      | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722                  |         |
+--------------------------------------------------------+---------+


More information about the linux-laptop mailing list