24 Apr
2022
24 Apr
'22
4:18 p.m.
On Sun, Apr 24, 2022 at 3:16 PM Alex Henrie <alexhenrie24(a)gmail.com> wrote:
On Sun, Apr 24, 2022 at 4:31 AM Austin English <austinenglish(a)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.
I mean, /sys/class/power_supply/*/type. -Alex