Bug 253447

Summary: battery monitor jumps between left and right side of the tray
Product: [Unmaintained] plasma4 Reporter: Piotr Keplicz <keplicz>
Component: widget-batteryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: battery monitor jumping left and right in the tray

Description Piotr Keplicz 2010-10-07 00:07:52 UTC
Created attachment 52292 [details]
battery monitor jumping left and right in the tray

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

On a notebook with two batteries, battery monitor jumps between left and right side of the tray. When on the right side, it jumps left after ~28 secs, then goes back after ~8 secs. It does that when either battery is chargind or discharging, never when both batteries are fully loaded.



Reproducible: Always

Steps to Reproduce:
1. With two batteries attached, pull out the AC adapter to start discharging batteries.

Actual Results:  
Battery monitor jumps left and right.

Expected Results:  
Battery monitor always on the right, as when only one battery is plugged in.

Setup: 
* Plasma notifications off
* Battery widget placed in the system tray (Tray settings -> Additional elements)
* Battery monitor setup: don't show changes, show separate icons for every battery
Comment 1 Aaron J. Seigo 2010-10-14 14:09:34 UTC
SVN commit 1185858 by aseigo:

check all batteries when setting the status, preventing toggling between states when there are multiple batteries
BUG:253447


 M  +7 -5      battery.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1185858