git: kernel/acpi: Add smart battery support.

Sascha Wildner swildner at
Tue Aug 28 15:08:50 PDT 2012

commit bedaba59b1c344e0da7df29fe067b93537791c6d
Author: Sascha Wildner <saw at>
Date:   Wed Aug 29 00:08:24 2012 +0200

    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.
    This is the patch from the tracker with some later updates FreeBSD did.
    Taken-from:    FreeBSD
    Dragonfly-bug: <>
    Submitted-by:  Dmitry Komissaroff <aunoor at>

Summary of changes:
 sys/conf/files               |    1 +
 sys/dev/acpica5/Makefile     |    2 +-
 sys/dev/acpica5/acpi_smbat.c |  492 ++++++++++++++++++++++++++++++++++++++++++
 sys/dev/acpica5/acpi_smbus.h |  285 ++++++++++++++++++++++++
 4 files changed, 779 insertions(+), 1 deletions(-)
 create mode 100644 sys/dev/acpica5/acpi_smbat.c
 create mode 100644 sys/dev/acpica5/acpi_smbus.h

DragonFly BSD source repository

More information about the Commits mailing list