Open kuon opened 6 months ago
The battery-poly blocklet is crashing on my system (HP laptop) when there is power, but not enough to charge the system.
battery-poly
The status reported by the kernerl is Not charging.
Not charging
I think it should be handled here:
https://github.com/vivien/i3blocks-contrib/blob/9d66d81da8d521941a349da26457f4965fd6fcbd/battery-poly/battery-poly#L101
With or raw_status == "Not charging" added.
or raw_status == "Not charging"
I can create a PR but this seem minor enough.
Also battery2 blocklet has this problem. And I solved it in the same way, just by adding or state == 'Not charging'
or state == 'Not charging'
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:
https://github.com/vivien/i3blocks-contrib/blob/9d66d81da8d521941a349da26457f4965fd6fcbd/battery-poly/battery-poly#L101
With
or raw_status == "Not charging"
added.I can create a PR but this seem minor enough.