The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

i3status: non-standard battery path

asked May 24 '14

anonymous user

Anonymous

The battery info path on my Samsung Chromebook is /sys/class/power_supply/sbs-4-000b/uevent . i3status seems to require "BAT?" as the 4th member of that path as I cannot get the system to read that file, no matter what I have in the config file. I have tried all sorts of combinations. Any ideas appreciated.

1 answer

Sort by » oldest newest most voted
0

answered May 24 '14

Michael gravatar image

This works:

battery 0 {
  path = "/sys/class/power_supply/sbs-4-000b/uevent"
  format = "%status %percentage %remaining"
}

…and path is also in the example in the i3status manpage :).

Question Tools

Stats

Asked: May 24 '14

Seen: 166 times

Last updated: May 24 '14