I3status: How to get DevTerm battery to show up?

Hi Everyone,

When using the tiling window manager i3, in conjunction with i3status, does anyone know how to get the DevTerm battery to show up? Every time I set the path in “/etc/i3status.conf” to “/sys/class/power_supply/axp20x-battery/uevent” it just shows up in i3status as “no %d in battery path”.

If I run “cat /sys/class/power_supply/axp20x-battery/uevent” it shows battery info just fine. Is there something I am missing? Hoping someone with more experience knows how to deal with this!

Answered my own problem! Simply change the configuration reference from “battery all” to “battery 0” and update the status configuration section to “battery 0” as well and reboot. Now the correct battery status should be displayed correctly!

3 Likes