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 Monitor false alarms, yellow bargraph #50

Closed
embedeo opened this issue Mar 5, 2023 · 3 comments
Closed

Battery Monitor false alarms, yellow bargraph #50

embedeo opened this issue Mar 5, 2023 · 3 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@embedeo
Copy link

embedeo commented Mar 5, 2023

I am using the most recent (to date) LXPanel version 0.10.1 with Gentoo GNU/Linux on a Lenovo laptop with a battery, model 45N1011, manufactured by LGC.

Defect (bug): the Battery Monitor panel applet continuously sends false "Battery Low" alarm notifications and the applet's bar graph is shown in yellow, in some common situations, where the following conditions apply:

  • The computer is on AC power, seated in a docking station and the battery is present.
  • The battery is nearly full of energy and computed energy level may vary from 96% to 99%.
  • No power is being drawn from the battery, so reasonably the applet shows "Power now = 0 mW".
  • The battery status (e.g. /sys/class/power_supply/BAT0/status) is fairly reported as "Not charging", and that is quite expected behavior from the embedded electronic in the battery module, since the battery is nearly full.
  • The time left if the battery was supplying power (if there was no AC power) can not be computed since the power consumption is unknown, so time left is fairly reported as "0:00".

Expected behavior:
The applet's bar graph shall be green and "Battery Low" alarms shall not appear, since there is AC power and the battery is nearly full.

Additional information:

  • The defect does not appear, if energy level is 100% and all the other conditions above hold true.
  • The defect with continuous false alarms, as described above, was not present in LXPanel version 0.10.0.
@embedeo embedeo changed the title Battery Monitor false alarms Battery Monitor false alarms, yellow bargraph Mar 5, 2023
@ib ib added question Further information is requested duplicate This issue or pull request already exists labels Dec 13, 2024
@ib
Copy link
Member

ib commented Dec 13, 2024

Is this #53?

ib pushed a commit to mcz/lxpanel that referenced this issue Jan 23, 2025
When the battery has reached the target charge level, some devices
use the status "Not Charging". LXpanel should not interpret this to mean
"Discharging", but rather the same as "Full".

This is also likely to fix github issue lxde#50, reported by embedeo.

(commit message amended by committer)
ib pushed a commit that referenced this issue Jan 23, 2025
When the battery has reached the target charge level, some devices
use the status "Not Charging". LXpanel should not interpret this to mean
"Discharging", but rather the same as "Full".

This is also likely to fix github issue #50, reported by embedeo.

(commit message amended by committer)
@ib
Copy link
Member

ib commented Jan 23, 2025

If you can, please check whether your issues are fixed in current master.

@ib
Copy link
Member

ib commented Jan 24, 2025

Should be fixed now.

@ib ib closed this as completed Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants