<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>471931</bug_id>
          
          <creation_ts>2023-07-04 06:03:07 +0000</creation_ts>
          <short_desc>org.kde.plasma.battery widget does not work properly on task bar</short_desc>
          <delta_ts>2023-08-18 11:04:41 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>System Tray widget</component>
          <version>5.27.6</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>464996</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>qtm4ig</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>materka</cc>
    
    <cc>openmindead</cc>
    
    <cc>rasasi78</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2239556</commentid>
    <comment_count>0</comment_count>
    <who name="">qtm4ig</who>
    <bug_when>2023-07-04 06:03:07 +0000</bug_when>
    <thetext>On my laptop with kde org.kde.plasma.battery (battery and brightness) widget or tray icon on task bar does not work properly after system boot.
When I try to change power profile or backlight of screen by this widget new value of profile/brightness will be rollbacked to old in this widget but in realy new value of profile/brightness will be saved (I see that new values were applyaed from cli for exaple powerprofilesctl) so kde org.kde.plasma.battery widget does not show realy values, but only last.

If run separate org.kde.plasma.battery with plasmawindowed separate org.kde.plasma.battery works normally and shows real power profile or backlight. If restart user plasma-plasmashell.service kde org.kde.plasma.battery (battery and brightness) widget or tray icon on task bar starts work normally

Operating System: Arch Linux
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.1.37-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i7-1255U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Modern 15 B12M
System Version: REV:1.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2246224</commentid>
    <comment_count>1</comment_count>
    <who name="Vladimir Yerilov">openmindead</who>
    <bug_when>2023-08-13 05:26:14 +0000</bug_when>
    <thetext>Can confirm the weird behavior when switching power profiles with widget, and restarting plasma-plasmashell.service works for me too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247216</commentid>
    <comment_count>2</comment_count>
    <who name="Raúl">rasasi78</who>
    <bug_when>2023-08-18 11:03:59 +0000</bug_when>
    <thetext>This looks like a dupe of https://bugs.kde.org/show_bug.cgi?id=464996.
By the way, I can confirm that restarting the plasma-plasmashell.service worked for me:

`systemctl restart --user plasma-plasmashell.service`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2247217</commentid>
    <comment_count>3</comment_count>
    <who name="Raúl">rasasi78</who>
    <bug_when>2023-08-18 11:04:41 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 464996 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>