That script is in Python, not sh, so it shuld have extension .py, not .sh I have /sys/class/power_supply/BAT0/ too, I wasn't aware of that. I have Ubuntu 12.04, too.
I updated the battery module in my github repo to use the acpi command. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997758 Title: gnome battery indicator missing in 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/indicator-power/+bug/997758/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
