Hello,
I m trying to modify lxpanel battery plugin to read one single file
'/sys/class/power_suppy/battery/capacity' instead of '/sys/class/power_supply'.
My system don't support ACPI, I just want to read the content of
'capacity' file which is a battery capacity. It is an integer between
1-100 depend on battery charging/discharging.
I modified the source files batt_sys.h, batt_sys.c and batt.c
accordingly, but it shows Segmentation fault.
Can anyone help ?
here is the diff log https://github.com/psachin/lxpanel/comm ... 84a6249979