Max Verevkin
Max Verevkin
> Instead the block should be hidden. This is possible: ```toml [[block]] block = "backlight" error_format = "" ```
Can you check whether it works on the [`async` branch](https://github.com/greshake/i3status-rust/tree/async) (you'll need to adapt your format a little)?
If you use debian-based distro, run `sudo apt-get install libsensors-dev libnotmuch-dev`. > Did the dependencies change? `libsensors-dev` is a new dependency, `libnotmuch-dev` will soon be optional.
Apparently the battery block treats "Not charging" as "Full": https://github.com/greshake/i3status-rust/blob/0cccc595b5c9bac940687dbe7a9e6ab6d42f0006/src/blocks/battery.rs#L857
@ram02z What's the output of `cat /sys/class/power_supply/BAT0/current_now`?
> It's not in any release yet... v0.30 is released.
> I can confirm that when I disconnect the AC, the percentage is shown. Note that I am using a battery charging threshold, so it never reaches 100%. Well, then...
> i3status-rust version: 0.21.2 Was it different in the previous versions?
So, in your case, battery should be considered full then it's 85% and above, discharging if it's between 60% and 85%, and charging if's below 60% and connected? > I...
Just to be sure, when the percentage drops to 60%, does the status change to "Charging"?