A battery_applet extention for ACPI(gnome-applets version.1.4)
(2003/5/21)
(This page is written in English-like language.)
jp.ver.
René Rebe
made
ACPI patch
for gnome-applets.
But as he says it is OBSOLETE,
it does't work with my kernel(linux 2.4.20).
So I revised.
Download
gnome-applets-1.4.0.4-acpi2.4.20.patch
(License)
(2003/5/21)
Changelog
- /proc/acpi/battery/0/{info,status} →/proc/acpi/BAT1/{info,state}
- /proc/acpi/BAT1/state has new entry.
These change are strongly dependent on my environment
(Vine Linux 2.6/Kernel-2.4.20@Sony Vaio PCG-SR9G/K),
So this patch doesn't work on many machine.
But if you know C little, try these easy change.
ToDo:
To-do to contribute.(I don't because I can use this on my pc.)
- APM/ACPI auto detection
- Configureable ACPI proc path
- Multi battery
- Detect entry by words before ':' , instead of line number
- (and revive gnome 1.4 )
Back to index
Copyright © 2003 Tomohito MAKINO All Right Reserved.