You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/alan/.config/i3blocks/scripts/./battery-poly", line 170, in <module>
main()
File "/home/alan/.config/i3blocks/scripts/./battery-poly", line 166, in main
print_status(get_configuration())
File "/home/alan/.config/i3blocks/scripts/./battery-poly", line 81, in get_configuration
get_current_charge(bat_name),
File "/home/alan/.config/i3blocks/scripts/./battery-poly", line 112, in get_current_charge
return int(Path(f"{PSEUDO_FS_PATH}{bat_name}/{CURRENT_CHARGE_FILENAME}").open().read().strip())
File "/usr/lib/python3.10/pathlib.py", line 1117, in open
return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/power_supply/BAT0/energy_now'
Output of any relevant other commands that might help diagnostics
python 3.10.2-1
sysfsutils 2.1.1-1
The text was updated successfully, but these errors were encountered:
Not really the blocklet's fault. It just tries to read the file /sys/class/power_supply/BAT0/energy_now which doesn't seem to be available on your system. Not sure why.
Post the output of ls -la /sys/class/power_supply so I can try some debugging.
Actual behavior
It doesn't appear in the bar.
i3blocks config relevant to blocklet(s)
(The default)
Output of blocklet(s) when run from command line
Output of any relevant other commands that might help diagnostics
python 3.10.2-1
sysfsutils 2.1.1-1
The text was updated successfully, but these errors were encountered: