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

Report laptop battery as missing if % Calculation takes too long #159

Open
Cjnator38 opened this issue Jan 3, 2021 · 1 comment
Open

Comments

@Cjnator38
Copy link

Cjnator38 commented Jan 3, 2021

Problem

My 2012 HP ENVY laptop has a completely non-functional battery that only allows it to be used when plugged into AC power. Middle clicking the indicator/Toggling "Show Percentage" would report the battery as being at 0%:
image
And opening it would show the percentage as "Calculating..." rather than "Missing" or something along those lines:
image

Proposal

If the battery takes over 30 seconds to a minute to Calculate percentage, or if the percentage stays at 0% after 5 minutes, the battery would be reported as missing and the icons would be replaced with battery-missing-symbolic and battery-missing. To avoid incorrect labeling, it would be labeled "Not charging or Missing"

Prior Art

image

@kvdz
Copy link
Collaborator

kvdz commented Mar 22, 2021

Hi @Cjnator38 , thank you for taking the time to report this.

I personally like your idea, but i do have to ask more system level information in order to fully understand why it is showing this way.

If you could post the output of the following terminal command

upower -d

Thank you very much.

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

No branches or pull requests

2 participants