[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: acpi



From: "Kurt Sys" <kurt.sys@rug.ac.be>
>
> I have a laptop DELL 2650 and I try to get acpi to work on Debian Linux
> kernel 2.4.20, but it doesn't seem to be ok. Some things might work,
> some work not. In the first place, it would be nice if I would be able
> to read how much time I have left. If I use wmacpi, it always says that
> my 'battery is critical low'. So I change to acpi in console and the
> only thing I did is:
>
> # acpi -bast
> # battery 1: slot empty
> # no support for device type: thermal
> # AC Adapter 1: on-line
>
> If I unplug my adapter, the last line becomes 'off-line'. As far as I
> know, I should get more info at the line 'battery 1:', but apparently, I
> have not. What am I missing/doing wrong?

LOL.  acpi (the latest debian version I've seen, anyway 0.6) has a copyright
date of 2001.  Fat chance of anything that old knowing how to find _most_ acpi
features.  It says exactly the same for my inspiron 2500, but simple reading of
/proc/acpi/battery/BAT0/state shows pretty reliable results.  Thermal probably
isn't supported, but a useful tool would show fan (also not functional on the
low-end inspirons), processor, embedded_controller and button data.

derek



Reply to: