Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets PowerManager Applet: Multiple Batteries not shown
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] PowerManager Applet: Multiple Batteries not shown [Bug #304]
LondonJohnny English 8 matttbe [Read]
04 October 2012 à 18:44

LondonJohnny, Wednesday 26 September 2012 à 11:00


Subscription date : 26 September 2012
Messages : 3
Hi!

I'm having the problem that the PowerManager applet only shows 1 of my 2 batteries. Is there some way to fix this?

Both batteries show else where, e.g. in Power Statistics and when running
upower -i /org/freedesktop/UPower/devices/battery_BATn

for n=0,1.

Can this be fixed? Can I hack PowerManager applet to show both batteries?

[Cairo-Dock v.3.0.0, PM Applet v.1.3.8, Ubuntu 12.04, Compiz+Cario-Dock session]

fabounet, Wednesday 26 September 2012 à 17:35


Subscription date : 30 November 2007
Messages : 17118
currently the applet only takes the first one (I didn't even imagine you could have more than 1 battery )

the main question is : how are we going to use this ?
do the 2 batteries work togather like a single big battery ?
in which case we could just sum their charge and time.

LondonJohnny, Thursday 27 September 2012 à 08:57


Subscription date : 26 September 2012
Messages : 3
My machine allows me to remove the DVD-drive and insert an extra battery!

currently the applet only takes the first one

This is actually not quite right. Right now, it takes my BAT1, but previously, it showed my BAT0, my main battery. Here's a SS from now:
http://dl.dropbox.com/u/8805392/PMA_bat.png.
As you can see, then the PMapplet shown battery is the Sony one, which is BAT1.

the main question is : how are we going to use this ?
do the 2 batteries work togather like a single big battery ?
in which case we could just sum their charge and time.


The two batteries do indeed function as one.
Simply adding their times would definitely be an improvement, and also quite satisfactory, if not in fact the best way to go about it.

The battery applet in the regular panel under Ubuntu 12.04 shows the info of both batteries, separately.


matttbe, Monday 01 October 2012 à 23:50


Subscription date : 24 January 2009
Messages : 12573
(Message added on the task #304)

I guess it's not hard to do that thanks to Upower but it's just not easy to test it

Task added

Eduardo Mucelli, Tuesday 02 October 2012 à 04:14


Subscription date : 05 August 2009
Messages : 285
Wow! Two batteries. Nice.

fabounet, Tuesday 02 October 2012 à 17:54


Subscription date : 30 November 2007
Messages : 17118
indeed

ok for suming the N batteries.

LondonJohnny, Tuesday 02 October 2012 à 22:58


Subscription date : 26 September 2012
Messages : 3
Wonderful! I'm glad it can be done!

I should I check up somewhere so I will know when I should give you any feedback, if needed?

(With respect to the two batteries, then I have a x301 from lenovo, which has a bay to insert dvd-drive or secondary 3-cell battery. Very handy system since the dvd-drive is nice to have -- in a drawer, just in case.)

matttbe, Thursday 04 October 2012 à 15:01


Subscription date : 24 January 2009
Messages : 12573
Hello,
PowerManager should now support more than one battery. Can you check the development version (if possible, with 0, 1 and 2 batteries, when charging and discharging it during the same session)? You can install this version by using a script for debian/ubuntu to compile the dock and its plug-ins (=> From BZR) or by adding our "ppa weekly" and by waiting for the next update (I'll upload the latest modifications asap)

matttbe, Thursday 04 October 2012 à 18:44


Subscription date : 24 January 2009
Messages : 12573
The next update on our "ppa weekly" will not be available soon (~15 hours). Feel free to compile the dock by simply launching a script: here

Applets | Applets

Subjects Author Language Messages Last message
[Locked] PowerManager Applet: Multiple Batteries not shown [Bug #304]
LondonJohnny English 8 matttbe [Read]
04 October 2012 à 18:44


Glx-Dock / Cairo-Dock List of forums Applets | Applets PowerManager Applet: Multiple Batteries not shown Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.