forwarded #507499 http://bugzilla.xfce.org/show_bug.cgi?id=4673 thanks
On lun, 2008-12-01 at 22:28 +0100, Tino Keitel wrote: > The status "Charging from AC" is reported on my ThinkPad if the > battery is > inserted, but not charged. > > This seems to be the culprit: > > if(acline) { > char *t=(charge<99.9)?_("(Charging from AC)"):_("(AC > on-line)"); > > I have a ThinkPad and the battery charger is configured to only charge > if > the battery goes below 20%. IMHO there should be a more reliable check > for > the battery status. In sysfs, the battery is reported as Full, unless > it is > really charged: > > $ cat /sys/class/power_supply/BAT0/status > Full Yeah, that would be nice. Feel free to provide a patch. The battery plugin is not really maintained at the moment, there's an hal-based branch coming (after 4.6 I guess) and an (hal-based too) xfce4-power-manager (for 4.6) coming as well. Cheers, -- Yves-Alexis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]