kernel/acpi: Add smart battery support.
authorSascha Wildner <saw@online.de>
Tue, 28 Aug 2012 22:08:24 +0000 (00:08 +0200)
committerSascha Wildner <saw@online.de>
Tue, 28 Aug 2012 22:08:24 +0000 (00:08 +0200)
commitbedaba59b1c344e0da7df29fe067b93537791c6d
tree4a17d506d79c31a991976ea57c834e556997d705
parentb234a7bb8baa9e1c2069bfef73db42b0832465f5
kernel/acpi: Add smart battery support.

I don't know which laptops have them, as far as I can tell, none of mine
do. But as some seem to have it, it's worth supporting.

https://en.wikipedia.org/wiki/Smart_Battery_System

This is the patch from the tracker with some later updates FreeBSD did.

Taken-from:    FreeBSD
Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/1229>
Submitted-by: Dmitry Komissaroff <aunoor@gmail.com>
sys/conf/files
sys/dev/acpica5/Makefile
sys/dev/acpica5/acpi_smbat.c [new file with mode: 0644]
sys/dev/acpica5/acpi_smbus.h [new file with mode: 0644]