On Wed, 6 Aug 2008, Thomas Adam wrote:

2008/8/6  <[EMAIL PROTECTED]>:
The laptop is running, over on the other side of the room, because I have
been involved in doing some security upgrades on it, while dealing with
e-mail over here. So I just went over there and ran "sensors" and it says
there are none. There is something called "smbus" connected to the PIIX4
chipset, but it is not at all obvious what it does.
What does dmidecode tell you?  What's your kernel version?
dmidecode? It tells me lots of things. Specifically, what should one look 
for?
It does have

Handle 0x1600, DMI type 22, 26 bytes
Portable Battery
        Location: Left Module Bay
        Manufacturer: Panasonic
        Name: 4460
        Design Capacity: 66010 mWh
        Design Voltage: 14800 mV
        SBDS Version: 1.0
        Maximum Error: 1%
        SBDS Serial Number: 0378
        SBDS Manufacture Date: 2007-06-06
        SBDS Chemistry: LION
        OEM-specific Information: 0x00000001

and a similar section about a temperature sensor. But neither of these appear to be actually reporting real-time data.
Kernel is 2.6.24.4, locally compiled.

I _do_ finally find the information, though:

There is a directory /proc/acpi

and in it there are relevant subdirectories, one of them named battery and the other named thermal_zone. Now, the subdirectory battery/BAT0 has in it several files, for example "state" which has in it
present:                 yes
capacity state:          ok
charging state:          charging
present rate:            29069 mW
remaining capacity:      69190 mWh
present voltage:         16755 mV



The BIOS has a screen for display of battery status, so presumably this
information needs to be read by some app, and it seems that "sensors" is not
doing it.
By this point this has *nothing* to do with FVWM, so you will want to
look elsewhere.
Well, at this point it does seem there is some information after all. So 
the question is how to use it.
-- Thomas Adam

Theodore Kilgore

Reply via email to