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.
(cherry picked from commit a002ab47)