logo       

Re: multiple batteries in BatteryMonitor: msg#00177

xfce.user

Subject: Re: multiple batteries in BatteryMonitor

El sáb, 17-04-2004 a las 05:14, Ylosar Goer escribió:
> > It is possible. The easiest fix is to switch the order in which
> > batteries are registered, that way you will see the level of the 1st
> > battery, which drains last.
>
> Where should i change this ? at the OS level or in the plugin configuration
> or in the plugin code ?
>

Plugin code.

> > Unfortunately, no one in the development
> > team has a dual battery laptop to test that. So if you want to
> > contribute, this is a good spot.
>
> I would be happy to contribute. I am coding exclusively in Java for some
> years now and C is quiet lost in my brain, somewhere... but it could be an
> excellent opportunity to refresh my knowledge of it. If i find some hours to
> do so. Anyway, if you want me to test things for you, i'm available and
> demanding, just email me what to do.

Try the attached patch and see if it works OK (it should monitor the
last battery to drain, instead of the first).



> _______________________________________________
> Xfce mailing list
> Xfce@xxxxxxxx
> http://lunar-linux.org/mailman/listinfo/xfce
> http://www.xfce.org
>

Attachment: batmon.diff
Description: Text Data

_______________________________________________
Xfce mailing list
Xfce@xxxxxxxx
http://lunar-linux.org/mailman/listinfo/xfce
http://www.xfce.org
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise