Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery Indicator occasionally doesn't show charging status #137

Open
2 tasks done
kmandarin-orange opened this issue Apr 22, 2020 · 3 comments
Open
2 tasks done

Comments

@kmandarin-orange
Copy link

kmandarin-orange commented Apr 22, 2020

Prerequisites

  • I have searched open and closed issues for duplicates.

Describe the bug

Intermittently, the battery icon will not change to show charging status when the laptop is plugged in. The computer is charging however, as the "online" output in the screenshot below shows that charging is active and working.
Charging Status

To Reproduce

As of now I haven't found the pattern to reproduce this, but usually this occurs after about +16 hours of uptime. It might be related to suspend since I use that frequently.

Expected behavior

When the power cable is plugged in I expect the indicator to show the charging icon until it hits 100%.

Screenshots or screen recordings

Logs

Unfortunately I couldn't find any of the applicable logs for wingpanel, if anyone does know where to go for that I'll add logs (I'm fairly new to this, so thanks for your patience).

Platform Information

Device Info

  • I'm using the latest released stable version

Additional context

I've also discovered that if I log out and log in again the problem does disappear for a while. Like I mentioned earlier this bug might be related to the suspend feature, since my computer suspends at least once or twice a day, but I haven't taken note of that myself so I can't be sure.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@kmandarin-orange
Copy link
Author

kmandarin-orange commented Nov 10, 2020

Quick update to show that after 6 months of updates the issue persists on my hardware as well, small kernel and Ubuntu updates haven't changed things. I have mostly noticed it after suspending my laptop overnight, but I've noticed this a little less overall.

Here's terminal output and system info:
Terminalshot
Settings

@andirsun
Copy link
Contributor

andirsun commented Jul 25, 2021

I think the problem is with upower not with io.elementary.wingpanel.power

Example:

First step: percentage 95% (not charge icon)

Second step: plug the charger -> percentage 95% (not charge icon)

Thirth step: percentage increase 95% -> 96% -> icon is updated.

@Gabriel-p
Copy link

I have the same issue.

Captura de pantalla de 2023-11-09 10 18 27

I have my BIOS setup so that it stops charging when it gets to 80%. In this case I forgot to unplug it so it charged to 100% and then after a few minutes unplugged dropped to 98%. The thing is, my battery is not charging because of the BIOS setting but it is plugged. Apparently elementary does not recognize this state as plugged.

$ upower -i `upower -e | grep 'BAT'`
  native-path:          BAT1
  vendor:               SAMSUNG Electronics
  power supply:         yes
  updated:              jue 09 nov 2023 10:14:33 (11 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               pending-charge
    warning-level:       none
    energy:              69,6192 Wh
    energy-empty:        0 Wh
    energy-full:         71,04 Wh
    energy-full-design:  80,216 Wh
    energy-rate:         26,4032 W
    voltage:             16,286 V
    charge-cycles:       150
    percentage:          98%
    capacity:            88,5609%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants