Bug 334536 - List of batteries is not updated at runtime
Summary: List of batteries is not updated at runtime
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Battery Monitor (show other bugs)
Version: master
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on: 324847
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-08 23:20 UTC by Elias Probst
Modified: 2014-06-14 21:31 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2014-05-08 23:20:33 UTC
KF5 based plasma-shell is affected by the same bug.
Patch from original bug doesn't apply.


+++ This bug was initially created as a clone of Bug #324847 +++

The battery monitor widget does not show batteries of newly added devices (e.g. if a wireless mouse is switched on after the battery monitor widget has been loaded). 

Reproducible: Always

Steps to Reproduce:
1. Log into KDE, but do not connect e.g. a wireless mouse device
2. After KDE and the widget has been loaded, turn on device
3. Check in battery monitor

Actual Results:  
List of available batteries is not updated (upower --monitor-detail does show it, though).

Expected Results:  
List of available batteries is updated
Comment 1 Kai Uwe Broulik 2014-06-14 21:31:36 UTC
Git commit c5efcd05cb26ade21718e0d5286950e517d8cf71 by Kai Uwe Broulik.
Committed on 14/06/2014 at 21:16.
Pushed by broulik into branch 'master'.

Try to fix battery detection at runtime

Forward port of kde-workspace edd82448a60c36a66afec94cca1ba07741e1a121

M  +4    -11   applets/batterymonitor/contents/ui/batterymonitor.qml

http://commits.kde.org/plasma-workspace/c5efcd05cb26ade21718e0d5286950e517d8cf71