geommer / yabar

A modern and lightweight status bar for X window managers.
MIT License
679 stars 49 forks source link

Does not show Battery usage! #158

Closed lordjbs closed 6 years ago

lordjbs commented 6 years ago

Hello. Im using a Packard Bell EasyNote and battery usage doesnt work. shot_2017-08-11_16-52-01 Code is: https://gist.github.com/lordjbs/d23c9b85a8b0f86e727c0ca26ed22464

Narrat commented 6 years ago

Any information where your battery information is located? Normally the location is in /sys/class/power_supply/ with BAT0/capacity having the information. Any other path for you?

lordjbs commented 6 years ago

Yeah, it's BAT1

Narrat commented 6 years ago

So what happens if you change the internal-option1 to BAT1?

pmatos commented 6 years ago

@lordjbs like @narrat said, you have a broken config file. Use internal-option1: "BAT1"; I think this can be closed.