This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Remaining battery time stuck

Tags: None
(comma "," separated)
philipple
Registered Member
Posts
4
Karma
0

Remaining battery time stuck

Fri May 17, 2019 12:16 pm
Hello,
I'm using KDE neon 5.15 with Plasma 5.15.5 on an Dell E7250 Laptop. It works very well, just the remaining battery life is somehow static. Right now, the battery widget in the task bar displays "0:35 Remaining (79%)". The battery percentage is correct and is continuously updated, just the remaining time is static and nonsensical.

The acpi-command calculates the remaining battery life correctly:
Code: Select all
philipp@Notebook:~$ acpi
Battery 0: Discharging, 79%, 05:23:46 remaining


It seems a user of KDE on arch linux ran into exactly the same problem:
https://bbs.archlinux.org/viewtopic.php?id=245856

How can I fix this?

Thank you, Philipp
vladost
Registered Member
Posts
3
Karma
0

Re: Remaining battery time stuck

Fri Dec 20, 2019 2:03 pm
Hi, philippe
I have exactly the same problem. Anyone?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Remaining battery time stuck

Fri Dec 20, 2019 2:19 pm
vladost wrote:Hi, philippe
I have exactly the same problem. Anyone?

Which exact plasma version and distribution do you use? Last I checked this was fixed a while ago, maybe upgrading is a good idea.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
vladost
Registered Member
Posts
3
Karma
0

Re: Remaining battery time stuck

Mon Dec 23, 2019 10:31 am
I am using Kubuntu 19.10 and Plasma 5.17.4.
The commad
Code: Select all
upower -i /org/freedesktop/UPower/devices/battery_BAT0

Gives me a correct "Time to empty" value.
But the battery indicator shows always the value that was set just after boot and this value is never updated.
vladost
Registered Member
Posts
3
Karma
0

Re: Remaining battery time stuck

Mon Dec 23, 2019 10:48 am
The problem was resolved by disabling the previous session restore on login.
perolausson
Registered Member
Posts
1
Karma
0

Re: Remaining battery time stuck

Wed May 13, 2020 7:52 pm
I had the same problem and can confirm that disabling KDE session saving was the solution.

Oddly enough, on installing kubuntu 19.10 it was always working on this laptop. Then after some update this problem starting occuring so I am wondering if it can be some recent regression?


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]