On Fri, Apr 22, 2022 at 2:20 AM Alex Henrie alexhenrie24@gmail.com wrote:
- static const char* ac_names[] =
- {
"AC",
"ACAD",
"ADP0",
"ADP1",
NULL
- };
- static const char* bat_names[] =
- {
"BAT0",
"BAT1",
NULL
- };
Sorry, I kind of jumped the gun on this. I looked through the Google search results more thoroughly this morning and discovered that AC0, AC1, and BAT are also common names.
If any of you would like to help, could you look in /sys/class/power_supply on your computer and let me know if your devices have other names that I missed?
-Alex