Comment 3 for bug 1647127

Revision history for this message
Tyler Gorda (tygorda) wrote :

Hello,

I'd be happy to help if I can---this bug frustrates me much more than it reasonably should. :) For me, my /sys/class/power_supply has the following links:

AC -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/ACPI0003:00/power_supply/AC/
BAT0 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/
BAT1 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/PNP0C09:00/PNP0C0A:01/power_supply/BAT1/

BAT0 is the one that the OS is using as the primary battery.

Also, if it is relevant, I have discovered that upower's DisplayDevice, e.g. from upower -d or upower --enumerate, combines the batteries' energies correctly and gives the right percentage and time (though not the icon-name, it seems).