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/commit/93f58e52f09083e8fd5296ec8abb5484a6249979
Discussion on LXDE releases and Development. This forum is not the best way to contact the developers, please use the Development mailing list and Sourceforge to interact with them.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests