Two bugs in xfce4 - Battery Monitor

edscott wilson garcia edscott at imp.mx
Wed Dec 10 14:33:12 CET 2003


On Tue, 2003-12-09 at 21:42, Luis Miguel García wrote:
> Hi... I'm testing the battery monitor. I'm only interested in the 
> temperature of the cpu feature, but I have found two bugs:
> 
> 1- The pluging only shows a "bar" when the panel is in "vertical" mode. 
> If I need to see all the options, I must set the panel horizontal and 
> then get back to vertical. Then, all the data is shown.

I cannot confirm such behaviour. I use the panel in vertical mode and
can turn all options on/off by using the "properties" dialog for the
plugin.

> 
> 2- If battery.ko module of the kernel is not loaded, the plugin doesn't 
> work at all. I'll try to explain me (i'm not native english speaker). 
> When xfce starts, it reads the temperature one time, and then it's never 
> refresh it unless I do a "modprobe battery". Then, the temperature is 
> correctly updated. I think that having battery support in acpi must not 
> be a requeriment because this plugin has other features (such as 
> temperatura of cpu) that doesn't rely on the battery module.

Battery and temperature are independent from each other. The plugin
apparently can use either acpi and apm. I'm not familiar with the apm
part but AFAICT using only acpi the updates are done correctly. Maybe
you have a kernel with both apm and acpi enabled, which is a recipe for
trouble.

> 
> 
> What do you think?

The temperature and fan could probably go into an independent plugin,
but since they would also be polling acpi, it would unnecessarily
increase overhead.  

> 
> Thanks!!
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://moongroup.com/mailman/listinfo/xfce4-dev
> 




More information about the Xfce4-dev mailing list