Check the power supply type in sysfs instead of the name to detect batteries
Check the power supply type in sysfs instead of the name to detect batteries

soumya92/barista,soumya92/barista,soumya92/barista