I know I'm probably late to the party, but linux deprecated the /proc
based battery API a few years ago and since my recent dist-upgrade the
deprecated /proc facilities have been removed.
I've updated it to use the new /sys based interface.
https://bitbucket.org/wilhelmy/dot.notion/src/4a306edb3ae4c4f506e95da4da99c631577e85db/statusd_linuxbatt.lua?fileviewer=file-view-default
Cheers,
Moritz
|