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

Re: ACPI battery monitor?



From: "Erich Schubert" <erich@debian.org>

> > Erich also wrote:
> > > Doesn't work here: 2.0.3-1  Mouse moves only choppy.
> > > gkacpi didn't cause my mouse to move choppy, neither does
> > >   while true; do cat /proc/acpi/battery/BAT1/state; sleep 1; done
> > > but i can reproduce it when i do
> > >   while true; do cat /proc/acpi/battery/BAT1/info; sleep 1; done
> > >
> > iirc, .../state doesn't often contain enough information to truly
monitor
> > the battery status
>
> No, it doesn't. But it is enough to query "info" once:
...
> None of which is expected to change during useage of the battery.
> So querying once is enough: all variable values are in "state".

Good point.  It escaped me because I have a buggy DSDT which makes it
impossible to read info at all.



Reply to: