addy-dclxvi / i3-starterpack

A simple guide (and example of configuration) about how to install i3 & its and essentials packages, then make them look eye candy, also contains my dotfiles of Debian 12 (Bookworm) setup
1.48k stars 172 forks source link

Battery status is not showing up #5

Closed satya-vinay closed 4 years ago

satya-vinay commented 5 years ago

In i3 status bar the battery status is being empty.

sambarnes commented 5 years ago

I know this issue is mad old, but for me it was just a matter of switching from "battery 1" to "battery 0"

The integer makes the config look at a different filepath for the battery events https://github.com/addy-dclxvi/i3-starterpack/blob/master/.config/i3status/config#L64

So look in your /sys/class/power_supply/ directory and see if BAT0 is there

jmrr commented 4 years ago

Yeah same, also in https://github.com/jmrr/dotfiles/blob/2b2dcf1e86fb991610883d619c720fb5d253c1d1/i3config/i3status/config#L18-L19 you'll have to point to battery 0.