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 2014-05-24 03:15:03 +0000

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-05-24 19:27:30 +0000

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 :).

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-05-24 03:15:03 +0000

Seen: 166 times

Last updated: May 24 '14