Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i3status says "No battery" #80

Closed
StephanMeijer opened this issue Oct 27, 2015 · 4 comments
Closed

i3status says "No battery" #80

StephanMeijer opened this issue Oct 27, 2015 · 4 comments

Comments

@StephanMeijer
Copy link

i3status displays No battery, while acpi displays that there is a battery plugged in (and there actually is).

i3status --version displays i3status 2.9 (2015-03-22) © 2008-2012 Michael Stapelberg and contributors

i3status displays:

i3status: trying to auto-detect output_format setting
i3status: auto-detected "term"
no IPv6 | 144.3 GiB | DHCP: yes | VPN: no | W: (046% at Burchtridder) 192.168.178.21 | E: down | No battery | 0.04 | 2015-10-27 09:09:55

acpi displays Battery 0: Charging, 8%, 00:39:05 until charged

@Airblader
Copy link
Member

Do you have the right path set to your battery in the i3status config?

@jirimedved
Copy link

I have the path for example -> path = "/sys/class/power_supply/BAT1/uevent"

@Airblader
Copy link
Member

Well, is it the correct path? Does it exist? Or should it read …/BAT0/…?

@StephanMeijer
Copy link
Author

I'm sorry for my late response.

Correct path to my uevent-file is /sys/class/power_supply/C239/uevent. After editing file $HOME/.i3status.conf and setting the path, i3status seems recognize my battery.

I'm sorry I wasted your time with asking why it did not work. Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants