Other Where is i3 battery's path?

pensador_13

Active Member

Thanks: 43
Messages: 180

#1
Greetings :)
Battery's path in Linux is /sys/class/power_supply/Bat%d/uevent, so where is in FBSD?
 
Last edited:

asteriskRoss

Well-Known Member

Thanks: 132
Messages: 417

#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: 110
Messages: 238

#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 = " "
}
 
Top