Thanks for respond linuxrules. Yeah, I've rebooted, my battery.sh in
/etc/acpi looks like this:

j...@jan-laptop:~$ cat /etc/acpi/battery.sh
#!/bin/bash
### ID FOR ACPI / HAL BUGFIX DON'T TOUCH (START) ###
AC_state=/proc/acpi/ac_adapter/ADP1/state
if grep -q "on-line" ${AC_state} ; then

    hal-set-property --udi `hal-find-by-capability --capability
ac_adapter` --key ac_adapter.present --bool true

else

    hal-set-property --udi `hal-find-by-capability --capability
ac_adapter` --key ac_adapter.present --bool false

fi
### ID FOR ACPI / HAL BUGFIX DON'T TOUCH (END)    ###
# UGLY HACK
j...@jan-laptop:~$

According to http://projects.gnome.org/gnome-power-manager/
Gnome power manager with it's applet gnome battery use DBus.

-- 
battery indicator is wrong
https://bugs.launchpad.net/bugs/455786
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to