Skip to content
Commit a002ab47 authored by Hector Martin's avatar Hector Martin
Browse files

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.
parent f0225452
Pipeline #292560 passed with stage
in 2 minutes and 16 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment