Battery warning

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
_beast_
Posts: 1
Joined: Sun Mar 14, 2010 11:26 pm

Battery warning

Post by _beast_ »

Hi,

I'm having a two little problems with the battery plugin on my eeepc 900.

First,
if the battery is getting low the battery plugin reports an xmessage every few seconds.

Second,
the plugin asks for time and not percentage, but I can't find any information about remaining time to adjust the parameter in the plugin config.
So is there a posibility to give percentage values to the plugin or where can I find the info how the remaining time is calculated?

best regards
beast
Marcus
Posts: 2
Joined: Sat Apr 10, 2010 6:25 pm

Re: Battery warning

Post by Marcus »

At least I can confirm that I have exactly the same problem with the battery plugin.

Best Regards
Marcus
maces
Posts: 503
Joined: Sat Oct 25, 2008 6:04 pm
Contact:

Re: Battery warning

Post by maces »

Hi,

Can confirm this on eeepc1000H.

maces

@marcus: another marCus :)
robsmint
Posts: 3
Joined: Thu Jun 10, 2010 11:47 am

Re: Battery warning

Post by robsmint »

Hi
I also get this alarm when the ac adapter is unplugged.
Hardware is Compaq CQ61 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz.
Found that the offensive line is in /usr/lib/lxpanel/plugins/batt.so

i.e.
expose_eventbatt: illegal token %s
batt: unknown var %s
xmessage Battery lowblack#28f200#22cc00#ffee00#d9ca00Battery: %d%% charged

Battery condition is ok as per /proc/acpi/battery/BAT0/state and /proc/acpi/battery/BAT0/info
Thanks for any help with this.
robsmint
Posts: 3
Joined: Thu Jun 10, 2010 11:47 am

Re: Battery warning

Post by robsmint »

using lxpanel version 0.5.5.
robsmint
Posts: 3
Joined: Thu Jun 10, 2010 11:47 am

Re: Battery warning

Post by robsmint »

Bug report No. 3016436 has been raised for this.
Locked