Bug 27149

Summary: Batery indicator no works correctly
Product: Mageia Reporter: Jose Manuel López <joselp>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, fri, ftg, ouaurelien
Version: CauldronKeywords: UPSTREAM
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: powerdevil-5.19.4-1.mga8.src.rpm CVE:
Status comment:

Description Jose Manuel López 2020-08-20 12:02:14 CEST
Description of problem: The battery indicator does not work properly and shows that it is charging and indicates: battery not available.

The device is an HP 250 G7 with internal battery. 

Mageia 8 Beta 1 installed from iso live.


Version-Release number of selected component (if applicable): Mageia 8 Beta 1 - battery indicator


How reproducible: Install Mageia 8 Beta 1 Plasma, and view battery indicator


Steps to Reproduce:
1. Install Mageia 8 Beta 1
2. Update Mageia 8
3. Check battery indicator
Comment 1 Aurelien Oudelet 2020-08-20 22:25:36 CEST
Hi,

Seems there is a problem with Plasma's powerdevil not recognizing your battery.

Assigning to KDE Team, whereas, you could also report upstream at bugs.kde.org and pass here a link to upstream bug report. As you are running faulty combination hardware/software.

Could you attach "lspcidrake -v > ~/hardware.txt" output and your last journal boot to see some error reported there
("journalctl -b > ~/last_boot.txt").
Feel free to xz-compress this output to fit 1 Mo limit to attach files.

Best regards,

CC: (none) => ouaurelien
Assignee: bugsquad => kde
Keywords: (none) => UPSTREAM
Source RPM: Batery indicator => powerdevil-5.19.4-1.mga8.src.rpm

Comment 2 Thomas Andrews 2021-01-12 13:52:11 CET
I'm seeing something that may or may not be related. On my HP Probook 6550b, fully updated as of less than an hour ago(I used urpmi --auto-update), sometimes my panel battery indicator shows up, and other times it doesn't. When there, it's working correctly as far as I can tell.

We have seen this before, but a quick search of Bugzilla didn't reveal the specific bug. My memory says that it was a plasma-workspace problem, but as we all know, memories are often imperfect. 

For what it's worth, I noticed that plasma-workspace was one of the updates I received today.

CC: (none) => andrewsfarm

Comment 3 Jose Manuel López 2021-01-12 13:55:50 CET
You would have to ask the user who has the equipment if now the battery indicator works correctly,

But at the moment it is not possible.
Comment 4 Frank Griffin 2021-01-12 17:19:22 CET
(In reply to Thomas Andrews from comment #2)
> I'm seeing something that may or may not be related. On my HP Probook 6550b,
> fully updated as of less than an hour ago(I used urpmi --auto-update),
> sometimes my panel battery indicator shows up, and other times it doesn't.
> When there, it's working correctly as far as I can tell.
> 
> We have seen this before, but a quick search of Bugzilla didn't reveal the
> specific bug. My memory says that it was a plasma-workspace problem, but as
> we all know, memories are often imperfect. 
> 
> For what it's worth, I noticed that plasma-workspace was one of the updates
> I received today.

I'm seeing this too.  The icon goes to hide in the hidden icons notification panel.

CC: (none) => ftg

Comment 5 Morgan Leijström 2021-01-13 10:48:24 CET
(In reply to Frank Griffin from comment #4)
> The icon goes to hide in the hidden icons notification panel.

Is it showing when power supply is detached, and hides when charging, or something like that?

CC: (none) => fri

Comment 6 Thomas Andrews 2021-01-13 13:30:54 CET
(In reply to Morgan Leijström from comment #5)
> 
> Is it showing when power supply is detached, and hides when charging, or
> something like that?

That's the way it's supposed to work, I think. It's the way it has always worked before - when it was working.

I use my Probook every morning, on battery, to read my morning newspaper at the kitchen table while getting my morning coffee. This morning the indicator is showing. The other day, when it wasn't, I looked at the hidden icons and didn't see it, but it's possible that it was there and I wasn't looking closely enough.
Comment 7 Aurelien Oudelet 2021-01-13 13:56:22 CET
Please note also that by default this plasma applet is set to "show when relevant".
Right-click on your systray and choose "Configure systray"
Under "Entries" in left column, see Battery and brightness. Set drop down menu to always display.
Comment 8 Thomas Andrews 2021-01-13 15:47:43 CET
(In reply to Thomas Andrews from comment #6)
> (In reply to Morgan Leijström from comment #5)
> > 
> > Is it showing when power supply is detached, and hides when charging, or
> > something like that?
> 
> That's the way it's supposed to work, I think. It's the way it has always
> worked before - when it was working.
> 
Well, I was wrong there. I just booted up my Probook with the charger/power supply attached, and the battery indicator is showing, indicating that the battery is at 100% and "charging." The systray setting is still at "show when relevant."

So now I'm thinking that I was correct when I didn't see the indicator as "hidden," and I have to wonder if this could be a symptom of a larger problem, like maybe "battery and brightness" doesn't always detect the presence of a battery at all.
Comment 9 Thomas Andrews 2021-01-13 15:51:35 CET
Ah, I see there are more new updates, including a new kernel and something called "mageia-plasma-config." Perhaps they will change things.
Comment 10 Jose Manuel López 2021-02-15 17:27:10 CET
Hi,

I think that this bug is fixed. In my laptop the battery icon show correctly when is charging.

Somebody can confirm this, for close this bug?

Greetings!!
Comment 11 Aurelien Oudelet 2021-02-15 17:41:57 CET
@Thomas Andrews any news?
Comment 12 Thomas Andrews 2021-02-15 20:11:16 CET
I haven't seen the problem in some time now, but then I DID set it from "Shown when relevant" to "Always shown" about a month ago. Could be that the systray's idea of what's relevant and mine differ.

I think it can be closed as a "Works for me."

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME