Skip to content

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

@kuon

Description

@kuon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions