yabar
yabar copied to clipboard
Charging status
How does yabar determine charging status?
I have
battery:{
exec: "YABAR_BATTERY";
align: "right";
internal-option1: "BAT0";
internal-option2: " ";
internal-suffix: "%";
underline-color-rgb: 0xe0bc81;
And yet, when the PC is charging it shows as 100% instead. I think the problem is where yabar is reading information from because rendering looks about write:
$ cat /sys/class/power_supply/BAT0/status
Full
$ cat /sys/class/power_supply/BAT0/capacity
100
I just noticed I have:
$ cat /sys/class/power_supply/AC/online
1