HomeFreeBSD

Add support for none ACPI battery method batteries

Description

Add support for none ACPI battery method batteries

Remove the requirement that a device be a ACPI method battery to be supported
as a battery.

Require now that the device be in the battery devclass and implement the
get_status and get_info functions. This allows batteries which are not ACPI
method batteries to be supported.

Reviewed by: jtl
Approved by: jtl (mentor)
MFC after: 1 Month
Differential Revision: https://reviews.freebsd.org/D17434

Details

Provenance
thjAuthored on Nov 23 2018, 12:03 PM
Parents
rGae346558f1b2: sfxge(4): make MAC naming consistent with other modules
Branches
Unknown
Tags
Unknown

Event Timeline