• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved Where is i3 battery's path?

asteriskRoss

Well-Known Member

Thanks: 126
Messages: 408

#4
I found I didn't need the path= statement in /usr/local/etc/i3status.conf. The following works fine for me:
Code:
order += "battery 0"

battery 0 {
   format = "%status %percentage %remaining"
   integer_battery_capacity = true
   low_threshold = 15
   threshold_type = percentage
}
 

Minbari

Active Member

Thanks: 70
Messages: 166

#5
Mine looks like this:
Code:
battery 0 {
        format = "%status %percentage %remaining %emptytime" 
        last_full_capacity = true
        integer_battery_capacity = true
        low_threshold = 10
        threshold_type = percentage
        hide_seconds = true
        format_down = " No bat"
        status_unk = " "
        status_chr = " "
        status_bat = " "
        status_full = " "
}