[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Checking battery voltage on laptop
- Subject: [ale] Checking battery voltage on laptop
- From: esoteric at 3times25.net (Geoffrey)
- Date: Tue Feb 15 21:11:10 2005
- In-reply-to: <011001c513c4$a9948d90$bb00a8c0@Ringo>
- References: <011001c513c4$a9948d90$bb00a8c0@Ringo>
ringo wrote:
> Does anyone know how I can check my battery level on my laptop from
> within my gcc program? I have the power management stuff enabled so I
> have a battery bar on my desktop.
I would expect your best bet would be to look at the kernel module
source that deals with acpi and/or apm.
--
Until later, Geoffrey