will this help
save this as /etc/acpi/battery.sh
in a root shell run: chmod +x /etc/acpi/battery.sh
#!/bin/sh
# UGLY HACK
AC_state=/proc/acpi/ac_adapter/AC/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
if code is in battery.sh add to top (below #!/bin/sh)
# UGLY HACK
AC_state=/proc/acpi/ac_adapter/AC/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
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs