! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
power manager does not manages well two batteries
Status:
CLOSED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description Wiz 2009-02-26 02:49:35 CET
When both of my batteries are pluged to my laptop, xfce4-power-manager show one icon for each of them (which is not bad), but when one is getting critical it asks for suspend / hibernation / shutdown, even does it if I selected an action for critical power.
Should not the power manager base on the state of both cumuled batteries, rather on individual state ?
Comment 1 Ali Abdallah editbugs 2009-02-26 08:40:11 CET
(In reply to comment #0)
> When both of my batteries are pluged to my laptop, xfce4-power-manager show one
> icon for each of them (which is not bad), but when one is getting critical it
> asks for suspend / hibernation / shutdown, even does it if I selected an action
> for critical power.
> Should not the power manager base on the state of both cumuled batteries,
> rather on individual state ?

I can confirm this bug, i will come to you with a revision number so you can compile and test it.
Comment 2 Ali Abdallah editbugs 2009-02-26 11:40:16 CET
Created attachment 2192 
fix the critical battery charge action
Comment 3 Ali Abdallah editbugs 2009-02-26 11:41:08 CET
(In reply to comment #0)
> When both of my batteries are pluged to my laptop, xfce4-power-manager show one
> icon for each of them (which is not bad), but when one is getting critical it
> asks for suspend / hibernation / shutdown, even does it if I selected an action
> for critical power.
> Should not the power manager base on the state of both cumuled batteries,
> rather on individual state ?

Please apply the above patch against 0.6.2 and let me know if you still have the problem.
Comment 4 Wiz 2009-02-27 02:41:04 CET
Does not deletes low battery warning, but does deletes the annoying critical one which wasn't closing itself after a few seconds.
Exactly what I asked for, marked as fixed.
Comment 5 Ali Abdallah editbugs 2009-07-02 14:09:19 CEST
Closing old bugs to keep things organized.

Bug #4995

Reported by:
Wiz
Reported on: 2009-02-26
Last modified on: 2009-07-14

People

Assignee:
Ali Abdallah
CC List:
0 users

Version

Version:
Unspecified

Attachments

Additional information