Re: Battery display generates ACPI events (stops X from powering off display)
Bill WIlson <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gkrellm |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 4 Aug 2007 17:45:28 -0700 Gautam Iyer <[email protected]> wrote: > Just FYI -- When I disable ac_adapter support in the kernel, Gkrellm > correctly detects if I'm plugged in or not, while the battery is > charging. But when the battery is fully charged, Gkrellm thinks it's not > connected. > > Possibly because it tests for the line > > charging state: charging > > in /proc/acpi/battery/BAT0/state, but does not test for the line > > charging state: charged > > Thanks for your help, Ah, thanks. I'll add a test for that. Bill _______________________________________________ Gkrellm mailing list [email protected] http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm