multiple batteries in BatteryMonitor

edscott wilson garcia edscott at prodigy.net.mx
Sun Apr 18 15:19:03 CEST 2004


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 at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce
> http://www.xfce.org
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: batmon.diff
Type: text/x-patch
Size: 1269 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20040418/50339d26/attachment.bin>


More information about the Xfce mailing list