I connected my Banana Pi to a battery and made a little GUI with battery indicator. To get battery capacity an so on, I read "/sys/class/power_supply/battery/uevent". Watching if battery is loading I do with "/sys/class/power_supply/ac/uevent".
I updated my Bananian to 16.04r01 and installed the linux-image-4.4-baniana Kernel 4.4.10. After Installing Kernel 4.4.10 /sys/class/power_supply/ does only have one folder: axp20x-usb. Uevent has the same structure, but I can't get any info about the battery.
Has anyone an idea, how I can get the information like before?
Donwgrading seems not the best option, because kernel 4.4.10 comes with configfs and libcomposite. I need this two modules for my project.
Hoping for good ideas.