Hi
I made a new PKGBUILD for a friend and strangely it works.
Anyway, here it is : http://paste.awesom.eu/boq&ln
Search Criteria
Package Details: xbattbar-acpi 0.4.0-2
Package Actions
| Package Base: | xbattbar-acpi |
|---|---|
| Description: | A simple battery indicator bar |
| Upstream URL: | http://mirrors.kernel.org/ubuntu/pool/universe/x/xbattbar-acpi/ |
| Category: | x11 |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 3 |
| First Submitted: | 2010-12-06 00:55 |
| Last Updated: | 2011-12-05 11:40 |
Required by (0)
Sources
Latest Comments
Comment by acaccia
Comment by test0
Sorry to interfere, I just needed to notify that xbattbar-acpi dev actually went on: now it's 1.2.0. The source was moved: https://sharesource.org/hg/xbattbar/summary
Comment by brycec
This strange behaviour can be found in other libacpi programs, such as yacpi, which seems to cement the bug's place in libacpi and not xbattbar.
Comment by brycec
For those experiencing the issue where xbattbar seems incapable of reading BAT0, I've done a bit of preliminary debugging and it seems to be an issue with libacpi rather than xbattbar itself. Ony my x130, I can pass -b0 and it pulls /sys/class/power_supply/ACAD, -b1 /sys/class/power_supply/BAT1, and -b2 some how pulls "". This might be a bug in libacpi, or a bug in how xbattbar instantiates libacpi.
Anonymous comment
Thank you for the comments, brycv & odderon! :)
I will take a look on the issue today.
Anonymous comment
I have the exact same issue on a fresh Arch install on a ThinkPad x230.
> acpi
Battery 0: Discharging, 71%, 05:41:31 remaining
Using whatever incarnation of xbattbar-acpi -b 0 and various other numbers yields no working combination. I'm running the same 3.6.9-1-ARCH kernel as well. Thank you.
Anonymous comment
Hello,
Many thanks for maintaining this excellent package! However, a fresh Arch install with xbattbar 0.4.0 yields
> acpi
Battery 0: Discharging, 64%, 01:40:03 remaining
But I can see only the "No Battery" dialog box when I hover over the battery indicator (that is soldily one colour). I also tried
xbattbar-acpi -b 0
But the result is the same, Any tips for success? For completeness uname returns
Linux boddyArch 3.6.9-1-ARCH #1 SMP PREEMPT Tue Dec 4 08:04:10 CET 2012 x86_64 GNU/Linux
Thanks,
Chris
Comment by aravind
There seems to be a bug in the xbattbar-acpi program - it won't update the
battery status bar unless you actually hover over the status line. I also
found a minor memory leak in the program. I patched the code and have
a working version at https://github.com/aravind/xbattbar-acpi. Would
it be possible for you to incorporate these changes into the aur
package? The second commit on the github repo is the one that makes
it work.
Anonymous comment
Upgraded to 0.4.0 :)
Using a mirror from kernel.org
Anonymous comment
vinz:
It works fine here.