Do not hardcode ACPI battery names
The BAT* naming convention is strictly an ACPI thing, so the charge control helper fails to work on non-ACPI platforms (like many embedded ARM devices including Apple Silicon Macs). The correct way to enumerate batteries is to use the `type` property.
-
mentioned in commit 2d3289ef
-
mentioned in merge request !128 (merged)
Please register or sign in to comment