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-poly not understanding the "Not charging" status #522

Open
kuon opened this issue Apr 14, 2024 · 0 comments
Open

Battery-poly not understanding the "Not charging" status #522

kuon opened this issue Apr 14, 2024 · 0 comments

Comments

@kuon
Copy link

kuon commented Apr 14, 2024

The battery-poly blocklet is crashing on my system (HP laptop) when there is power, but not enough to charge the system.

The status reported by the kernerl is Not charging.

I think it should be handled here:

if raw_status == "Unknown" or raw_status == "Full":

With or raw_status == "Not charging" added.

I can create a PR but this seem minor enough.

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

1 participant