Juve45 / batstat

CLI battery status for linux
GNU General Public License v3.0
66 stars 11 forks source link

Please add some options to let user modify the battery info path #3

Closed Ryan0604 closed 1 month ago

Ryan0604 commented 5 years ago

it doesn't work on Centos7.6.1810 because of the different path...

pakair commented 2 years ago

I guess you can modify the #define PATH "the path" in the code & recompile.

Juve45 commented 4 months ago

I did not found anything regarding the path of battery files on CentOS, at the moment the only place the app looks for the battery files is /sys/class/power_supply/BAT0 or /sys/class/power_supply/BAT1

Juve45 commented 1 month ago

Added config file