[plasmashell] [Bug 362924] Red battery icon shown for desktop pc

Kai Uwe Broulik via KDE Bugzilla bugzilla_noreply at kde.org
Wed May 11 08:20:06 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=362924

Kai Uwe Broulik <kde at privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |plasma-bugs at kde.org
   Target Milestone|---                         |1.0
          Component|general                     |Battery Monitor
     Ever confirmed|0                           |1
           Assignee|plasma-devel at kde.org        |kde at privat.broulik.de
            Product|Powerdevil                  |plasmashell

--- Comment #7 from Kai Uwe Broulik <kde at privat.broulik.de> ---
You're right, the battery monitor should hide in the popup and the tooltip
should reflect the missing battery.

Can you have a look at the "powermanagement" dataengine using
plasmaengineexplorer (part of plasma-sdk)? Look in the "Battery" section (not
Battery0) and see what it says for "Has Cumulative". It has two properties, one
"Has Battery" which is whether there is any battery at all (your
mouse/keyboard), and "Has Cumulative" whether there is a battery actually
powering the device.

Okay, I found the issue for the tooltip: The thing just checks if
(batteries.count == 0) instead of the "Has Cumulative" property and then it
says "x% charging". The mystery is now why the applet did not hide itself in
the popup automatically, according to your upower output both devices correctly
report "power supply: no".

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list