[Pkg-xfce-devel] Bug#494099: Bug#494099: xfce4-battery-plugin: Shows 50%% when I start without battery

Yves-Alexis Perez corsac at debian.org
Thu Aug 7 09:23:20 UTC 2008

On Thu, Aug 07, 2008 at 11:00:26AM +0200, Torquil Macdonald Sørensen wrote:
> When I start my laptop without a battery, the xfce battery plugin 
> displays 50%% and no green colour. The no green colour is fine, but 
> maybe it would be better if it said something like "No bat." on
> two lines. In addition, it does not seems to be possible to change
> what it displays. It still  displays 50%% even though I change the
> configuration choices in its configuration dialog (e.g. change it to
> display time instead).

Well basically yes, it doesn't behaves really nicely when no battery is
present. If you can dig the code and cook a patch for displaying a nice
“No battery”, feel free, but I don't hold your breathe for upstream
change on this. It's not really maintained because there's a new branch
hal-based in development, and not much development on the stable branch.
We already patch it pretty heavily for sysfs support.


More information about the Pkg-xfce-devel mailing list