On Sun, Apr 24, 2022 at 4:31 AM Austin English austinenglish@gmail.com wrote:
This matches my amd64 hardware.
My armv7l chromebook reports the battery as: "sbs-20-000b" (alongside "gpio-charger") My aarch64 pinebook reports the battery as: "battery" (alongside "ac" and "usb")
Thanks! It sounds like we really ought to avoid hardcoding a list of names to look for here. I'll send a new patch that looks at /sys/class/power/*/type instead.
-Alex