Bug 482326 - Battery remaining time stuck on "estimating"
Summary: Battery remaining time stuck on "estimating"
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-03 16:52 UTC by The10axe
Modified: 2025-04-08 19:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.1
Sentry Crash Report:


Attachments
upower cmd results about time remaining (44.66 KB, image/png)
2024-03-03 16:52 UTC, The10axe
Details
The bug as it can be displayed, power level is right but no estimation (32.43 KB, image/png)
2024-03-03 16:53 UTC, The10axe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description The10axe 2024-03-03 16:52:38 UTC
Created attachment 166365 [details]
upower cmd results about time remaining

SUMMARY
Battery remaining time is stuck on "estimating"
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Always
2. 
3. 

OBSERVED RESULT
Battery time is written to be currently "estimating"

EXPECTED RESULT
Show upower estimation, which right now for me gives my battery life of 2.9h

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS x86_64
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Laptop is a Nitro AN515-54.
From what I looked up, it seems that the issue may be that my battery is recognised as "BAT1" and not "BAT0" (see screenshot)
Comment 1 The10axe 2024-03-03 16:53:16 UTC
Created attachment 166366 [details]
The bug as it can be displayed, power level is right but no estimation
Comment 2 Nate Graham 2024-03-05 17:41:33 UTC
I'd recommend upgrading to Plasma 6. A lot of code surrounding this was changed, making is quite possible that the issue has already been resolved.
Comment 3 The10axe 2024-03-13 22:10:19 UTC
(In reply to Nate Graham from comment #2)
> I'd recommend upgrading to Plasma 6. A lot of code surrounding this was
> changed, making is quite possible that the issue has already been resolved.

Upgraded! And it's still happening sadly, I have no idea what happens because the battery percentage displayed is accurate, though the estimation upower's give isn't displayed properly for some reason.
Comment 4 The10axe 2024-03-13 22:14:28 UTC
(In reply to The10axe from comment #3)
> (In reply to Nate Graham from comment #2)
> > I'd recommend upgrading to Plasma 6. A lot of code surrounding this was
> > changed, making is quite possible that the issue has already been resolved.
> 
> Upgraded! And it's still happening sadly, I have no idea what happens
> because the battery percentage displayed is accurate, though the estimation
> upower's give isn't displayed properly for some reason.

It seems the command `acpi -id` also gives accurate information, with an estimated remaining time, meanwhile, the tray's menu is giving me the usual "Estimating..."
Comment 5 TraceyC 2024-09-04 20:24:56 UTC
I am not currently able to reproduce this on
6.1.4 where the battery is BAT0
git-master where the battery is BAT1

On both systems, the battery widget shows the remaining time when discharging, time to full charge, or Fully Charged
Comment 6 Nate Graham 2025-04-08 19:26:35 UTC
Are you able to reproduce this issue in Plasma 6.3 or later, and also presumably with newer kernel and upower versions too?