greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.88k stars 475 forks source link

Battery module only shows icon #326

Closed wulftone closed 5 years ago

wulftone commented 5 years ago

I'm on Arch on i3status-rust-git 0.9.0.r607.g550b600-1

I have the battery module installed like so:

[[block]]
block = "battery"
interval = 10
show = "percentage"

and the output is like this:

  {
    "background": "#8bc34a",
    "color": "#000000",
    "full_text": "   ",
    "separator": false,
    "separator_block_width": 0
  },

That is a battery symbol, which works fine, but there is no other text. Not sure what I'm missing.... ?

wulftone commented 5 years ago

Hmm it's working now, maybe it was because my battery was 100% full...? What happens if it reads as greater than full?

atheriel commented 5 years ago

The battery block does not show the capacity when it is 100 percent (or reported by sysfs as over, I believe). This is intended behaviour.