Multiple power sources may exist under /sys/class/power_supply/.
Durring autodetection (get_batteries), will case the detected ac to be reset to 'AC0' if a power source not starting with BAT or AC.
This change skips updating the name of the ac device if the devices does not start with 'AC'
Multiple power sources may exist under /sys/class/power_supply/. Durring autodetection (get_batteries), will case the detected ac to be reset to 'AC0' if a power source not starting with BAT or AC.
This change skips updating the name of the ac device if the devices does not start with 'AC'