+22
−7
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Apple hardware continues to expose an ACPI AC charger even when using SBS to report battery state. The charger status byte returns all 0s in this case. Since the spec requires that bit 4 be 1 at all times, assume that there's not really a charger if it's set to zero. Signed-off-by:Matthew Garrett <matthew.garrett@nebula.com> Signed-off-by:
Andreas Noever <andreas.noever@gmail.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>