Summary: | Battery and Brightness widget not updating Remaining Time | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Krzysztof <kkastr> |
Component: | Power and Battery widget | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | kde, me, natalie_clarius, nate |
Priority: | NOR | ||
Version: | 5.27.10 | ||
Target Milestone: | 1.0 | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Krzysztof
2024-02-05 07:55:55 UTC
It seems that after a reboot the first reading of battery remaining time is displayed and never updated. What about `upower -D`? Regardless, a lot has changed here recently so I strongly suspect that it it's fixed in Plasma 6. I can't reproduce the issue myself on Plasma 6. Result of upower -d: Device: /org/freedesktop/UPower/devices/line_power_AC native-path: AC power supply: yes updated: nie, 11 lut 2024, 10:49:12 (46 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SMP model: 02DL028 serial: 975 power supply: yes updated: nie, 11 lut 2024, 10:49:52 (6 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 80,99 Wh energy-empty: 0 Wh energy-full: 84,16 Wh energy-full-design: 90 Wh energy-rate: 11,127 W voltage: 12,531 V charge-cycles: 39 time to empty: 7,3 hours percentage: 96% capacity: 93,5111% technology: lithium-polymer icon-name: 'battery-full-symbolic' History (rate): 1707644992 11,127 discharging 1707644962 8,058 discharging Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001 native-path: ucsi-source-psy-USBC000:001 power supply: yes updated: nie, 11 lut 2024, 10:18:29 (1889 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o002 native-path: ucsi-source-psy-USBC000:002 power supply: yes updated: nie, 11 lut 2024, 10:49:29 (29 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: nie, 11 lut 2024, 10:49:52 (6 seconds ago) has history: no has statistics: no battery present: yes state: discharging warning-level: none energy: 80,99 Wh energy-full: 84,16 Wh energy-rate: 11,127 W charge-cycles: N/A time to empty: 7,3 hours percentage: 96% icon-name: 'battery-full-symbolic' Daemon: daemon-version: 1.90.2 on-battery: yes lid-is-closed: no lid-is-present: yes critical-action: HybridSleep I also have an update to my observations. The battery remaining time is behaving unpredictably. Sometimes it seems to be updating correctly after system startup and updating estimated time regularly. On other occasion when I start the system it is frozen at the first estimation and never updating. I could not figure out yet if this is correlated with anything else. I should have been more specific, sorry: are the times shown in `upower -d` wrong in either the exact same way, or at least a similar way? (In reply to Nate Graham from comment #5) > I should have been more specific, sorry: are the times shown in `upower -d` > wrong in either the exact same way, or at least a similar way? Times shown in "upower -d" seem perfectly fine and never frozen. During my last check the KDE widget was frozen displaying: "Estimating..." while upower -d was displaying estimated time correctly and updating it every 30 seconds. Ok, thanks. This has gotten an overhaul in Plasma 6 so it would be good to check to see if the same thing is still happening there. (In reply to Nate Graham from comment #7) > Ok, thanks. This has gotten an overhaul in Plasma 6 so it would be good to > check to see if the same thing is still happening there. FYI recently the applet started working correctly. I assume this was after an update (although I am still on 5.27.10) because I noticed several updates of KDE related packages. Unfortunately I do not know which one exactly. All right, great! Let's call it fixed. Probably by a kernel or upower change. |